1
0
mirror of https://github.com/redis/go-redis.git synced 2025-12-02 06:22:31 +03:00

Update internal/pool/conn_state_test.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Nedyalko Dyakov
2025-10-25 21:44:27 +03:00
committed by GitHub
parent 23d0e0fbae
commit ffbe1e59f7

View File

@@ -384,9 +384,9 @@ func TestConnStateMachine_AwaitAndTransitionWaitsForInitialization(t *testing.T)
t.Errorf("expected %d completions, got %d", numGoroutines, completedCount.Load())
}
// Final state should be READY
// Final state should be IDLE
if sm.GetState() != StateIdle {
t.Errorf("expected final state READY, got %s", sm.GetState())
t.Errorf("expected final state IDLE, got %s", sm.GetState())
}
t.Logf("Execution order: %v", executionOrder)