Megatest

Changes To run-end-spec
Login

Changes to "run-end-spec" between 2019-02-19 16:23:55 and 2019-02-19 16:33:06

1
2
3
4
5
6
7
8
9
10


11
12
13
14
15
16




17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15



16
17
18
19
20










+
+



-
-
-
+
+
+
+

<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 do nothing (run should already be RUNNING/ na
  #  > 0 RUNNING verify that runners are alive IFF duration > 
  #  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