From: Peter Amstutz Date: Thu, 18 Aug 2016 19:16:07 +0000 (-0400) Subject: Test fixture for uncommitted container request. X-Git-Tag: 1.1.0~773^2~12 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/04897299db36ce0e467fe09bc0e4e25d8a932ff8 Test fixture for uncommitted container request. --- diff --git a/services/api/test/fixtures/container_requests.yml b/services/api/test/fixtures/container_requests.yml index de41ff0e94..22d745195e 100644 --- a/services/api/test/fixtures/container_requests.yml +++ b/services/api/test/fixtures/container_requests.yml @@ -151,6 +151,114 @@ running_anonymous_accessible: vcpus: 1 ram: 123 +uncommitted: + uuid: zzzzz-xvhdp-cr4uncommittedc + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + name: uncommitted + created_at: 2016-01-11 11:11:11.111111111 Z + updated_at: 2016-01-11 11:11:11.111111111 Z + modified_at: 2016-01-11 11:11:11.111111111 Z + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + command: ["arvados-cwl-runner", "--local", "--api=containers", + "/var/lib/cwl/workflow.json", "/var/lib/cwl/cwl.input.json"] + output_path: "/var/spool/cwl" + cwd: "/var/spool/cwl" + priority: 1 + state: "Uncommitted" + container_image: arvados/jobs + mounts: { + "/var/lib/cwl/workflow.json": { + "kind": "json", + "content": { + "cwlVersion": "v1.0", + "class": "CommandLineTool", + "inputs": [ + { + "doc": "a longer documentation string for this parameter (optional)", + "type": "boolean", + "id": "ex_boolean", + "label": "a short label for this parameter (optional)" + }, + { + "doc": "directory selection should present the workbench collection picker", + "type": "Directory", + "id": "ex_dir" + }, + { + "type": "double", + "id": "ex_double" + }, + { + "doc": "file selection should present the workbench file picker", + "type": "File", + "id": "ex_file" + }, + { + "doc": "any parameter can be turned into an array with {\"type\": \"array\", \"items\": \"the_type\"}\n", + "type": { + "items": "File", + "type": "array" + }, + "id": "ex_file_array" + }, + { + "type": "float", + "id": "ex_float" + }, + { + "type": "int", + "id": "ex_int" + }, + { + "type": "long", + "id": "ex_long" + }, + { + "doc": "any parameter can be turned into an optional array with [\"null\", {\"type\": \"array\", \"items\": \"the_type\"}\n", + "type": [ + "null", + { + "items": "File", + "type": "array" + } + ], + "id": "ex_opt_file_array" + }, + { + "doc": "any parameter can be made optional by providing a union of [\"null\", \"the_type\"]\n", + "type": [ + "null", + "string" + ], + "id": "ex_opt_string" + }, + { + "type": "string", + "id": "ex_string" + } + ], + "outputs": [] + }, + }, + "/var/lib/cwl/cwl.input.json": { + "kind": "json", + "content": {} + }, + "stdout": { + "kind": "file", + "path": "/var/spool/cwl/cwl.output.json" + }, + "/var/spool/cwl": { + "kind": "collection", + "writable": True + } + } + runtime_constraints: + vcpus: 1 + ram: 256000000 + API: true + + # Test Helper trims the rest of the file # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper