4227: update fixtures to use bigger finish times
[arvados.git] / services / api / test / fixtures / pipeline_instances.yml
index c2dbd65fc2c80759e4c3e13f1040460e6fc4a83d..ed8f917f983c77f2aa453956cd324b53fbd2c5ab 100644 (file)
@@ -4,6 +4,12 @@ new_pipeline:
   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
   created_at: <%= 1.minute.ago.to_s(:db) %>
 
+new_pipeline_in_subproject:
+  state: New
+  uuid: zzzzz-d1hrv-subprojpipeline
+  owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
+  created_at: <%= 1.minute.ago.to_s(:db) %>
+
 has_component_with_no_script_parameters:
   state: Ready
   uuid: zzzzz-d1hrv-1xfj6xkicf2muk2
@@ -152,10 +158,12 @@ pipeline_with_newer_template:
 <% for i in 1..10 do %>
 pipeline_<%=i%>_of_10:
   name: pipeline_<%= i %>
-  state: New
-  uuid: zzzzz-d1hrv-10gneyn6br1x<%= i.to_s.rjust(3, '0') %>
+  state: Failed
+  uuid: zzzzz-d1hrv-10pipelines0<%= i.to_s.rjust(3, '0') %>
   owner_uuid: zzzzz-j7d0g-000010pipelines
-  created_at: <%= 1.minute.ago.to_s(:db) %>
+  created_at: <%= (2*i).hour.ago.to_s(:db) %>
+  started_at: <%= (2*i).hour.ago.to_s(:db) %>
+  finished_at: <%= i.minute.ago.to_s(:db) %>
   components:
     foo:
       script: foo
@@ -167,14 +175,14 @@ pipeline_<%=i%>_of_10:
           title: foo instance input
 <% end %>
 
-# pipelines in project_with_10_pipelines_and_10_jobs
-<% for i in 1..10 do %>
-pipeline_<%=i%>_of_10_pipelines_and_10_jobs:
+# pipelines in project_with_2_pipelines_and_200_jobs
+<% for i in 1..2 do %>
+pipeline_<%=i%>_of_2_pipelines_and_200_jobs:
   name: pipeline_<%= i %>
   state: New
   uuid: zzzzz-d1hrv-abcgneyn6brx<%= i.to_s.rjust(3, '0') %>
-  owner_uuid: zzzzz-j7d0g-20jobspipelines
-  created_at: <%= 1.minute.ago.to_s(:db) %>
+  owner_uuid: zzzzz-j7d0g-nnjobspipelines
+  created_at: <%= i.minute.ago.to_s(:db) %>
   components:
     foo:
       script: foo
@@ -190,10 +198,12 @@ pipeline_<%=i%>_of_10_pipelines_and_10_jobs:
 <% for i in 1..25 do %>
 pipeline_<%=i%>_of_25:
   name: pipeline_<%=i%>
-  state: New
-  uuid: zzzzz-d1hrv-25xneyn6br1x<%= i.to_s.rjust(3, '0') %>
+  state: Failed
+  uuid: zzzzz-d1hrv-25pipelines0<%= i.to_s.rjust(3, '0') %>
   owner_uuid: zzzzz-j7d0g-000025pipelines
-  created_at: <%= 1.minute.ago.to_s(:db) %>
+  created_at: <%= i.hour.ago.to_s(:db) %>
+  started_at: <%= i.hour.ago.to_s(:db) %>
+  finished_at: <%= i.minute.ago.to_s(:db) %>
   components:
     foo:
       script: foo