Megatest

Artifact [9b02a06a74]
Login

Artifact 9b02a06a7408484c07093cf45b7818dc3dd6a6f4:

Wiki page [run-end-spec] by mrwellan on 2019-02-19 16:33:06.
D 2019-02-19T23:33:06.816
L run-end-spec
P da0c333201c25fa9bec2bc684f0bdf5da410d981
U mrwellan
W 711
<h2>End of Run detection, rollup and hook handling</h2>

  #  NOTE: also look at retry

Spec:

  #  At beginning of each test mark run as RUNNING/ na --> done by the runner NOT the test
  #  At end of each test call, after marking self as COMPLETED do run-state-status-rollup
  #  At transition to run COMPLETED/X do hooks

Definition: test_dead if event_time + duration + 1 minute? < current_time 

State/status table

  #  new
  #  100% COMPLETED/ (PASS,FAIL,ABORT etc.) ==> COMPLETED / X  where X is same as itemized rollup
  #  > 3 RUNNING with not test_dead do nothing (run should already be RUNNING/ na
  #  > 0 RUNNING and test_dead then send KILLREQ ==> COMPLETED
  #  0 RUNNING 
  

Z 4dc5a42b7d43e1827384488b4cc31c67