Use the normal runtime hooks in the concurrent connection test

Initialize the fixture's audit dependencies so the successful Edit branch can complete and its readback can be asserted.

Change-source: pulse-maintainer
This commit is contained in:
pulse-triage[bot]
2026-11-23 12:06:48 +00:00
parent 1712d98c2e
commit 91edd47b1c

View File

@@ -215,7 +215,7 @@ func TestClusterRefreshOrdersSameConfigSavesAndApplies(t *testing.T) {
firstRead, applyFirst := make(chan struct{}), make(chan struct{})
var reloads atomic.Int32
h := &ConfigHandlers{defaultConfig: cfg, defaultPersistence: persistence, reloadFunc: func() error {
h := &ConfigHandlers{defaultConfig: cfg, defaultPersistence: persistence, runtime: defaultRuntimeDependencies(), reloadFunc: func() error {
// Model the reload boundary: read the saved config, then
// publish it after the previous monitor finishes stopping.
first := reloads.Add(1) == 1