mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-02 10:09:02 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user