Closed SteVwonder closed 5 years ago
Kinda hard to ensure that the sub has been registered before sending the pub though.
This is what t/scripts/event-trace.lua
is meant to help with. It doesn't run its COMMAND
until the subscribe is guaranteed to be active. (If it is still working properly, pretty old script)
Another non-deterministic failure. I believe the race here is that if the second
flux event sub -c1 hb
is slow to run, then the count of thesubscribe
logs is 2 rather than the expected 1. I wonder if this could be tweaked to subscribe to an event likefoobar
that is then published viaflux event pub
as part of the test. Kinda hard to ensure that the sub has been registered before sending the pub though.test log:
event.out content in trash-directory: