Repository navigation
Commit cf2bac6
committed
Key the executor-events transaction test by TaskInstanceUuid
After the attempt-UUID executor event rework, the event buffer is
keyed by TaskInstanceUuid rather than the legacy TaskInstanceKey.
Keying this regression test's event by ti1.key meant the event never
matched a captured task identity and was discarded before reaching
set_state, so the test passed even without the session fix it exists
to guard. Key it the same way the other tests in this file do, and
assert the state actually flips to FAILED before the rollback so a
regression is caught again.1 parent 5a6622f commit cf2bac6
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
850 | 850 | | |
851 | 851 | | |
852 | 852 | | |
853 | | - | |
| 853 | + | |
854 | 854 | | |
855 | 855 | | |
| 856 | + | |
| 857 | + | |
856 | 858 | | |
857 | 859 | | |
858 | 860 | | |
| |||
0 commit comments