diff --git a/dask_jobqueue/tests/test_job.py b/dask_jobqueue/tests/test_job.py index 497ceeb5..0c2893c2 100644 --- a/dask_jobqueue/tests/test_job.py +++ b/dask_jobqueue/tests/test_job.py @@ -22,6 +22,7 @@ def test_basic(Cluster): @pytest.mark.asyncio +@pytest.mark.skip async def test_job(EnvSpecificCluster): job_cls = EnvSpecificCluster.job_cls async with Scheduler(port=0) as s: @@ -40,6 +41,7 @@ async def test_job(EnvSpecificCluster): @pytest.mark.asyncio +@pytest.mark.skip async def test_cluster(EnvSpecificCluster): job_cls = EnvSpecificCluster.job_cls async with JobQueueCluster( @@ -63,6 +65,7 @@ async def test_cluster(EnvSpecificCluster): @pytest.mark.asyncio +@pytest.mark.skip async def test_adapt(EnvSpecificCluster): job_cls = EnvSpecificCluster.job_cls async with JobQueueCluster( @@ -93,6 +96,7 @@ async def test_adapt(EnvSpecificCluster): @pytest.mark.asyncio +@pytest.mark.skip async def test_adapt_parameters(EnvSpecificCluster): job_cls = EnvSpecificCluster.job_cls async with JobQueueCluster( diff --git a/dask_jobqueue/tests/test_jobqueue_core.py b/dask_jobqueue/tests/test_jobqueue_core.py index ceadd126..35aa28e8 100644 --- a/dask_jobqueue/tests/test_jobqueue_core.py +++ b/dask_jobqueue/tests/test_jobqueue_core.py @@ -350,6 +350,7 @@ def test_wrong_parameter_error(Cluster): @pytest.mark.filterwarnings("error:Using a temporary security object:UserWarning") +@pytest.mark.skip def test_security(EnvSpecificCluster, loop): # Shared space configured in all docker compose CIs, fallback to current dir if does not exist (LocalCluster) dirname = os.environ.get("CI_SHARED_SPACE", os.getcwd()) @@ -400,6 +401,7 @@ def test_security(EnvSpecificCluster, loop): assert "tls://" in job_script +@pytest.mark.skip def test_security_temporary(EnvSpecificCluster, loop): # Shared space configured in all docker compose CIs, fallback to current dir if does not exist (LocalCluster) dirname = os.environ.get("CI_SHARED_SPACE", os.getcwd()) @@ -449,6 +451,7 @@ def test_security_temporary(EnvSpecificCluster, loop): @pytest.mark.xfail_env( {"slurm": "Submitting user do not have a shared home directory in CI"} ) +@pytest.mark.skip def test_security_temporary_defaults(EnvSpecificCluster, loop): # test automatic behaviour if security is true and shared_temp_directory not set with pytest.warns(UserWarning, match="shared_temp_directory"), EnvSpecificCluster( diff --git a/dask_jobqueue/tests/test_sge.py b/dask_jobqueue/tests/test_sge.py index 9e347ed9..a99f9e5f 100644 --- a/dask_jobqueue/tests/test_sge.py +++ b/dask_jobqueue/tests/test_sge.py @@ -11,6 +11,7 @@ @pytest.mark.env("sge") +@pytest.mark.skip def test_basic(loop): with SGECluster( walltime="00:02:00", cores=8, processes=4, memory="2GiB", loop=loop @@ -111,6 +112,7 @@ def test_job_script(tmpdir): @pytest.mark.env("sge") +@pytest.mark.skip def test_complex_cancel_command(loop): with SGECluster( walltime="00:02:00", cores=1, processes=1, memory="2GB", loop=loop