X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/dcf97f13fa730ba7af3fee9b6d7044592a30a2be..fe8f132725aea9816447ac8a9804b7942bc5dffd:/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 41eb044449..34dbe9603b 100644 --- a/services/api/test/fixtures/pipeline_instances.yml +++ b/services/api/test/fixtures/pipeline_instances.yml @@ -42,6 +42,9 @@ has_component_with_completed_jobs: state: Complete uuid: zzzzz-d1hrv-i3e77t9z5y8j9cc owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: <%= 11.minute.ago.to_s(:db) %> + started_at: <%= 10.minute.ago.to_s(:db) %> + finished_at: <%= 9.minute.ago.to_s(:db) %> components: foo: script: foo @@ -256,7 +259,7 @@ pipeline_in_publicly_accessible_project: name: Pipeline in publicly accessible project pipeline_template_uuid: zzzzz-p5p6p-tmpltpublicproj state: Complete - created_at: <%= 1.minute.ago.to_s(:db) %> + created_at: <%= 30.minute.ago.to_s(:db) %> components: foo: script: foo @@ -357,7 +360,6 @@ new_pipeline_in_publicly_accessible_project_with_dataclass_file_and_other_object pipeline_in_running_state: name: running_with_job - state: Ready uuid: zzzzz-d1hrv-runningpipeline owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz created_at: <%= 3.1.minute.ago.to_s(:db) %> @@ -372,6 +374,52 @@ pipeline_in_running_state: uuid: zzzzz-8i9sb-pshmckwoma9plh7 script_version: master +running_pipeline_with_complete_job: + uuid: zzzzz-d1hrv-partdonepipelin + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + state: RunningOnServer + created_at: <%= 15.minute.ago.to_s(:db) %> + components: + previous: + job: + uuid: zzzzz-8i9sb-cjs4pklxxjykqqq + log: zzzzz-4zz18-op4e2lbej01tcvu + running: + job: + uuid: zzzzz-8i9sb-pshmckwoma9plh7 + +complete_pipeline_with_two_jobs: + uuid: zzzzz-d1hrv-twodonepipeline + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + state: Complete + created_at: <%= 3.minute.ago.to_s(:db) %> + started_at: <%= 2.minute.ago.to_s(:db) %> + finished_at: <%= 1.minute.ago.to_s(:db) %> + components: + ancient: + job: + uuid: zzzzz-8i9sb-ahd7cie8jah9qui + log: zzzzz-4zz18-op4e2lbej01tcvu + previous: + job: + uuid: zzzzz-8i9sb-cjs4pklxxjykqqq + log: zzzzz-4zz18-op4e2lbej01tcvu + +failed_pipeline_with_two_jobs: + uuid: zzzzz-d1hrv-twofailpipeline + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: <%= 55.minute.ago.to_s(:db) %> + state: Failed + components: + ancient: + job: + uuid: zzzzz-8i9sb-ahd7cie8jah9qui + log: zzzzz-4zz18-op4e2lbej01tcvu + previous: + job: + uuid: zzzzz-8i9sb-cjs4pklxxjykqqq + log: zzzzz-4zz18-op4e2lbej01tcvu + # 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 @@ -397,13 +445,13 @@ pipeline_<%=i%>_of_10: title: foo instance input <% end %> -# pipelines in project_with_2_pipelines_and_100_jobs +# pipelines in project_with_2_pipelines_and_60_crs <% for i in 1..2 do %> -pipeline_<%=i%>_of_2_pipelines_and_100_jobs: +pipeline_<%=i%>_of_2_pipelines_and_60_crs: name: pipeline_<%= i %> state: New uuid: zzzzz-d1hrv-abcgneyn6brx<%= i.to_s.rjust(3, '0') %> - owner_uuid: zzzzz-j7d0g-nnjobspipelines + owner_uuid: zzzzz-j7d0g-nnncrspipelines created_at: <%= i.minute.ago.to_s(:db) %> components: foo: