X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a959f21c8147f26362df392bc3fd3290db69de85..ce410ef35e137e040ace097a74a33f04c5975ad9:/services/api/test/fixtures/pipeline_instances.yml?ds=sidebyside diff --git a/services/api/test/fixtures/pipeline_instances.yml b/services/api/test/fixtures/pipeline_instances.yml index 823116fda4..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,6 +19,7 @@ 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 @@ -27,7 +30,7 @@ has_job: state: Ready uuid: zzzzz-d1hrv-1yfj6xkidf2muk3 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: <%= 3.1.minute.ago.to_s(:db) %> components: foo: script: foo @@ -37,3 +40,25 @@ has_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."