mirror of
https://github.com/netbirdio/netbird.git
synced 2026-09-27 17:19:08 +02:00
config becomes start/run arg so we are sure it gets updated on any (re)start
This is because we now have the supervisor not destroyed over time Still intermediate step where server.go regenerates the client entirely.
This commit is contained in:
@@ -114,7 +114,8 @@ func TestConnectWithRetryRuns(t *testing.T) {
|
||||
t.Setenv(maxRetryTimeVar, "5s")
|
||||
t.Setenv(retryMultiplierVar, "1")
|
||||
|
||||
s.connectWithRetryRuns(ctx, config, s.statusRecorder, nil, nil)
|
||||
client := s.newSessionClient(ctx)
|
||||
s.connectWithRetryRuns(ctx, client, config, s.statusRecorder, nil, nil)
|
||||
if counter < 3 {
|
||||
t.Fatalf("expected counter > 2, got %d", counter)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user