X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ebb166d65eb37f89edeccfc5be97014f3f2a73e2..ce410ef35e137e040ace097a74a33f04c5975ad9:/services/api/test/fixtures/pipeline_instances.yml diff --git a/services/api/test/fixtures/pipeline_instances.yml b/services/api/test/fixtures/pipeline_instances.yml index b5e1bc1c6b..7bfc2e1b3f 100644 --- a/services/api/test/fixtures/pipeline_instances.yml +++ b/services/api/test/fixtures/pipeline_instances.yml @@ -2,11 +2,13 @@ new_pipeline: state: New uuid: zzzzz-d1hrv-f4gneyn6br1xize owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: <%= 1.minute.ago.to_s(:db) %> has_component_with_no_script_parameters: state: Ready uuid: zzzzz-d1hrv-1xfj6xkicf2muk2 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: <%= 10.minute.ago.to_s(:db) %> components: foo: script: foo @@ -17,7 +19,46 @@ has_component_with_empty_script_parameters: state: Ready uuid: zzzzz-d1hrv-jq16l10gcsnyumo owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: <%= 3.minute.ago.to_s(:db) %> components: foo: script: foo script_version: master + +has_job: + name: pipeline_with_job + state: Ready + uuid: zzzzz-d1hrv-1yfj6xkidf2muk3 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: <%= 3.1.minute.ago.to_s(:db) %> + components: + foo: + script: foo + script_version: master + script_parameters: {} + job: { + uuid: zzzzz-8i9sb-pshmckwoma9plh7, + script_version: master + } + +components_is_jobspec: + # Helps test that clients cope with funny-shaped components. + # For an example, see #3321. + uuid: zzzzz-d1hrv-jobspeccomponts + created_at: <%= 30.minute.ago.to_s(:db) %> + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2014-04-14 12:35:04 -0400 + updated_at: 2014-04-14 12:35:04 -0400 + modified_at: 2014-04-14 12:35:04 -0400 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + state: RunningOnServer + components: + script: foo + script_version: master + script_parameters: + input: + required: true + dataclass: Collection + title: "Foo/bar pair" + description: "Provide a collection containing at least two files."