Julien Pivotto 9f2022e6f6 rules: fix flaky TestDependencyMapUpdatesOnGroupUpdate
The test called ruleManager.start() before ruleManager.Update(), so the
group goroutine skipped the <-m.block wait and began evaluating
immediately. The fixture has a recording rule, and if the first 10s
tick fired before defer ruleManager.Stop() ran, Eval was called with a
nil QueryFunc (and nil Appendable), causing a nil pointer dereference.

Fix by providing Appendable, Queryable, and QueryFunc in the
ManagerOptions, matching the pattern used by other tests that load real
rule files and start the manager.

Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-04-27 16:28:28 +02:00
..