mirror of
https://github.com/henrygd/beszel.git
synced 2026-09-29 12:57:50 +02:00
test: initialise and stop hub fixture workers before cleanup (#2463)
This commit is contained in:
@@ -91,6 +91,7 @@ func TestNetworkMonitorReconnectSync(t *testing.T) {
|
||||
require.NoError(t, app.SaveNoValidate(probe))
|
||||
|
||||
sm := NewSystemManager(stubHub{app})
|
||||
require.NoError(t, sm.createSSHClientConfig())
|
||||
t.Cleanup(func() {
|
||||
sm.cancel()
|
||||
_ = sm.RemoveSystem(sys.Id)
|
||||
|
||||
Reference in New Issue
Block a user