github.com/Comcast/plax@v0.8.32/demos/finally.yaml (about) 1 doc: | 2 Exercise final phases. 3 4 After the test runs, check that there is no 'problem' in the State 5 and that State["n"] == 3. 6 labels: 7 - selftest 8 - donotskip 9 negative: true 10 spec: 11 finalphases: 12 - this 13 - that 14 phases: 15 phase1: 16 steps: 17 - run: 18 test.State["n"] = 0; 19 - recv: 20 timeout: 1ms 21 - run: 22 # This code shouldn't get executed. 23 test.State["problem"] = "phase1.3" 24 this: 25 steps: 26 - run: 27 test.State["n"] = 1; 28 - goto: more-this 29 more-this: 30 steps: 31 - run: 32 test.State["n"] = 2; 33 - recv: 34 timeout: 1ms 35 - run: 36 # This code shouldn't get executed. 37 test.State["problem"] = "more-this.3" 38 that: 39 steps: 40 - run: 41 test.State["n"] = 3 42