ha-successor-fixture-registry
tests: arm the successor validator on its own registry
installScanSuccessorValidator armed a production departure controller on the scan rig's registry. Its work loop steps as soon as the journal is ready, using the real clock, so whenever it reached ScanPass before the fixture's Stop it reserved the rig's departure until wall time plus 30 s. The rig's next pass, at its fixed earlier clock, then found nothing due.
That is the hosted CI flake in TestDeparturePoolCoverage ("hadeparturesscantest.go:493: 0 0", receiver-b ScanPass worked=false) and in TestHADepartureProductionWiring/twofixedreceivers ("shared receiver did not import its subset 0"). A 300 ms sleep before Stop reproduces both every time; with this change both pass under the same sleep.
The validator only reads the identities the fixture records after Stop, so the armed controller keeps the fixture's own registry. Test-only; product code is unchanged.
Discussions
- No discussions on this branch yet.
Tasks
- No tasks yet.
Activity
- paul@keymail.dev pushed e04673e9e Merge remote-tracking branch 'origin/main' into ha-successor-fixture-registry
- paul@keymail.dev pushed 50f1c80ae Merge remote-tracking branch 'origin/main' into ha-successor-fixture-registry
- paul@keymail.dev pushed ea3441a7b Merge remote-tracking branch 'origin/main' into ha-successor-fixture-registry
- paul@keymail.dev pushed e889523ca tests: arm the successor validator on its own registry