X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f9ac3734498a72657adf82004d012ebfae87f5cd..1c36703db22a4695f0a2aebaa3ffbd5d8d64997f:/services/api/test/fixtures/containers.yml diff --git a/services/api/test/fixtures/containers.yml b/services/api/test/fixtures/containers.yml index 6fc3fd1544..c049d8498b 100644 --- a/services/api/test/fixtures/containers.yml +++ b/services/api/test/fixtures/containers.yml @@ -19,9 +19,9 @@ running: owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz state: Running priority: 1 - created_at: 2016-01-11 11:11:11.111111111 Z - updated_at: 2016-01-11 11:11:11.111111111 Z - started_at: 2016-01-11 11:11:11.111111111 Z + created_at: <%= 1.minute.ago.to_s(:db) %> + updated_at: <%= 1.minute.ago.to_s(:db) %> + started_at: <%= 1.minute.ago.to_s(:db) %> container_image: test cwd: test output: test @@ -36,9 +36,25 @@ running-older: owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz state: Running priority: 1 - created_at: 2016-01-11 11:11:11.111111111 Z - updated_at: 2016-01-11 11:11:11.111111111 Z - started_at: 2016-01-12 11:11:11.111111111 Z + created_at: <%= 2.minute.ago.to_s(:db) %> + updated_at: <%= 2.minute.ago.to_s(:db) %> + started_at: <%= 2.minute.ago.to_s(:db) %> + container_image: test + cwd: test + output: test + output_path: test + command: ["echo", "hello"] + runtime_constraints: + ram: 12000000000 + vcpus: 4 + +locked: + uuid: zzzzz-dz642-lockedcontainer + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + state: Locked + priority: 2 + created_at: <%= 2.minute.ago.to_s(:db) %> + updated_at: <%= 2.minute.ago.to_s(:db) %> container_image: test cwd: test output: test @@ -86,7 +102,23 @@ completed_older: requester: uuid: zzzzz-dz642-requestingcntnr - owner_uuid: zzzzz-tpzed-000000000000000 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + state: Complete + priority: 1 + created_at: 2016-01-11 11:11:11.111111111 Z + updated_at: 2016-01-11 11:11:11.111111111 Z + container_image: test + cwd: test + output: test + output_path: test + command: ["echo", "hello"] + runtime_constraints: + ram: 12000000000 + vcpus: 4 + +requester_container: + uuid: zzzzz-dz642-requestercntnr1 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz state: Complete priority: 1 created_at: 2016-01-11 11:11:11.111111111 Z