X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0f644e242ef37c911ad3dc25aca8135c339de349..e838828374ceed5ef6da260939251e86f72b6f27:/services/api/test/fixtures/container_requests.yml diff --git a/services/api/test/fixtures/container_requests.yml b/services/api/test/fixtures/container_requests.yml index da138c480e..dea98887e9 100644 --- a/services/api/test/fixtures/container_requests.yml +++ b/services/api/test/fixtures/container_requests.yml @@ -26,7 +26,7 @@ running: owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz name: running state: Committed - priority: 1 + priority: 501 created_at: <%= 2.minute.ago.to_s(:db) %> updated_at: <%= 1.minute.ago.to_s(:db) %> modified_at: <%= 1.minute.ago.to_s(:db) %> @@ -106,7 +106,7 @@ completed-older: name: completed state: Final priority: 1 - created_at: 2016-01-11 11:11:11.111111111 Z + created_at: <%= 30.minute.ago.to_s(:db) %> 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 @@ -164,7 +164,7 @@ cr_for_requester2: name: requester_cr2 state: Final priority: 1 - created_at: 2016-01-11 11:11:11.111111111 Z + created_at: <%= 30.minute.ago.to_s(:db) %> 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 @@ -219,7 +219,7 @@ canceled_with_queued_container: uuid: zzzzz-xvhdp-canceledqueuedc owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz name: canceled with queued container - state: Committed + state: Final priority: 0 created_at: 2016-01-11 11:11:11.111111111 Z updated_at: 2016-01-11 11:11:11.111111111 Z @@ -238,7 +238,7 @@ canceled_with_locked_container: uuid: zzzzz-xvhdp-canceledlocekdc owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz name: canceled with locked container - state: Committed + state: Final priority: 0 created_at: 2016-01-11 11:11:11.111111111 Z updated_at: 2016-01-11 11:11:11.111111111 Z @@ -272,6 +272,25 @@ canceled_with_running_container: vcpus: 1 ram: 123 +running_to_be_deleted: + uuid: zzzzz-xvhdp-cr5runningcntnr + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + name: running to be deleted + state: Committed + priority: 1 + created_at: <%= 2.days.ago.to_s(:db) %> + updated_at: <%= 1.days.ago.to_s(:db) %> + modified_at: <%= 1.days.ago.to_s(:db) %> + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + container_image: test + cwd: test + output_path: test + command: ["echo", "hello"] + container_uuid: zzzzz-dz642-runnincntrtodel + runtime_constraints: + vcpus: 1 + ram: 123 + completed_with_input_mounts: uuid: zzzzz-xvhdp-crwithinputmnts owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz @@ -285,7 +304,7 @@ completed_with_input_mounts: container_image: test cwd: test output_path: test - command: ["echo", "hello"] + command: ["echo", "hello", "/bin/sh", "-c", "'cat' '/keep/fa7aeb5140e2848d39b416daeef4ffc5+45/foobar' '/keep/fa7aeb5140e2848d39b416daeef4ffc5+45/baz' '|' 'gzip' '>' '/dev/null'"] runtime_constraints: vcpus: 1 ram: 123 @@ -724,6 +743,48 @@ uncommitted-with-required-and-optional-inputs: ram: 256000000 API: true +cr_in_trashed_project: + uuid: zzzzz-xvhdp-cr5trashedcontr + owner_uuid: zzzzz-j7d0g-trashedproject1 + name: completed container request + state: Final + priority: 1 + created_at: <%= 2.minute.ago.to_s(:db) %> + updated_at: <%= 1.minute.ago.to_s(:db) %> + modified_at: <%= 1.minute.ago.to_s(:db) %> + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + container_image: test + cwd: test + output_path: test + command: ["echo", "hello"] + container_uuid: zzzzz-dz642-compltcontainer + log_uuid: zzzzz-4zz18-y9vne9npefyxh8g + output_uuid: zzzzz-4zz18-znfnqtbbv4spc3w + runtime_constraints: + vcpus: 1 + ram: 123 + +runtime_token: + uuid: zzzzz-xvhdp-11eklkhy0n4dm86 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + name: queued + state: Committed + priority: 1 + created_at: <%= 2.minute.ago.to_s(:db) %> + updated_at: <%= 1.minute.ago.to_s(:db) %> + modified_at: <%= 1.minute.ago.to_s(:db) %> + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + container_image: test + cwd: test + output_path: test + command: ["echo", "hello"] + container_uuid: zzzzz-dz642-20isqbkl8xwnsao + runtime_token: v2/zzzzz-gj3su-2nj68s291f50gd9/2d19ue6ofx26o3mm7fs9u6t7hov9um0v92dzwk1o2xed3abprw + runtime_constraints: + vcpus: 1 + ram: 123 + + # 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