Skip to content

Commit

Permalink
Skip all tests for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Aug 5, 2024
1 parent ad85271 commit 33857e6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dask_jobqueue/tests/test_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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(
Expand All @@ -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(
Expand Down Expand Up @@ -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(
Expand Down
3 changes: 3 additions & 0 deletions dask_jobqueue/tests/test_jobqueue_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down Expand Up @@ -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())
Expand Down Expand Up @@ -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(
Expand Down
2 changes: 2 additions & 0 deletions dask_jobqueue/tests/test_sge.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 33857e6

Please sign in to comment.