Commit 39dc0f3
test(vcl): start VCLBridge in vcl_executor_test setup_all (fix seed-order flake)
Unrelated to the NIF change in this PR, but surfaced by this PR's CI seed
(590007). VCLExecutorTest's execute_string/2 tests route through the
VeriSim.Query.VCLBridge parser singleton via GenServer.call by name, but
this file — alone among the VCL test files — never started that GenServer
in its setup. It therefore passed only when a bridge-starting sibling test
(which use H.ensure_bridge_started/0 or VCLBridge.start_link/1) happened to
run earlier; an unlucky seed ordered VCLExecutorTest first and the three
parse-error-propagation tests exited with 'no process'.
Add a setup_all that calls the existing VCLTestHelpers.ensure_bridge_started/0
(idempotent: returns the already-started pid), matching every sibling VCL
test file, so the suite is order-independent. Test-only; does not touch the
in-flight VCL rename of lib/ modules.
https://claude.ai/code/session_01E8BpV19yxhf67UrCrvkfTr1 parent 3b76273 commit 39dc0f3
1 file changed
Lines changed: 11 additions & 0 deletions
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
27 | 38 | | |
28 | 39 | | |
29 | 40 | | |
| |||
0 commit comments