Megatest

Update of "run-end-spec"
Login
Overview

Artifact ID: 9b02a06a7408484c07093cf45b7818dc3dd6a6f4
Page Name:run-end-spec
Date: 2019-02-19 16:33:06
Original User: mrwellan
Parent: da0c333201c25fa9bec2bc684f0bdf5da410d981 (diff)
Next 5166933a8df04f18227e9c93f221578972d32cd8
Content

End of Run detection, rollup and hook handling

  1. NOTE: also look at retry

Spec:

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

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

State/status table

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