Use Stop not other direct calls like actCancel() things.. for now adding then removing

This commit is contained in:
riccardom
2026-06-16 18:55:08 +02:00
parent 70f2097fff
commit a6d504633f
3 changed files with 28 additions and 32 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ func TestConnectWithRetryRuns(t *testing.T) {
t.Setenv(maxRetryTimeVar, "5s")
t.Setenv(retryMultiplierVar, "1")
client := s.newSessionClient(ctx)
client := s.ensureConnectClient()
s.connectWithRetryRuns(ctx, client, config, s.statusRecorder, nil, nil)
if counter < 3 {
t.Fatalf("expected counter > 2, got %d", counter)