X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/12e22cbf3bbf047c001624be54ec802999bb5c1e..807125b8423058d336165f069bf5d618f77845b7:/sdk/cwl/tests/test_job.py diff --git a/sdk/cwl/tests/test_job.py b/sdk/cwl/tests/test_job.py index 8317c8f1fe..8d12aab7e2 100644 --- a/sdk/cwl/tests/test_job.py +++ b/sdk/cwl/tests/test_job.py @@ -23,7 +23,7 @@ class TestJob(unittest.TestCase): runner.project_uuid = "zzzzz-8i9sb-zzzzzzzzzzzzzzz" runner.ignore_docker_for_reuse = False runner.num_retries = 0 - document_loader, avsc_names, schema_metadata, metaschema_loader = cwltool.process.get_schema("draft-3") + document_loader, avsc_names, schema_metadata, metaschema_loader = cwltool.process.get_schema("v1.0") tool = { "inputs": [], @@ -72,7 +72,10 @@ class TestJob(unittest.TestCase): runner.project_uuid = "zzzzz-8i9sb-zzzzzzzzzzzzzzz" runner.ignore_docker_for_reuse = False runner.num_retries = 0 - document_loader, avsc_names, schema_metadata, metaschema_loader = cwltool.process.get_schema("draft-3") + arvados_cwl.add_arv_hints() + + document_loader, avsc_names, schema_metadata, metaschema_loader = cwltool.process.get_schema("v1.0") + tool = { "inputs": [], @@ -84,7 +87,8 @@ class TestJob(unittest.TestCase): "tmpdirMin": 4000 }, { "class": "http://arvados.org/cwl#RuntimeConstraints", - "keep_cache": 512 + "keep_cache": 512, + "outputDirType": "keep_output_dir" }, { "class": "http://arvados.org/cwl#APIRequirement", }], @@ -103,6 +107,7 @@ class TestJob(unittest.TestCase): 'script_parameters': { 'tasks': [{ 'task.env': {'HOME': '$(task.outdir)', 'TMPDIR': '$(task.tmpdir)'}, + 'task.keepTmpOutput': True, 'command': ['ls'] }] },