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:
@@ -384,9 +384,9 @@ func TestConnStateMachine_AwaitAndTransitionWaitsForInitialization(t *testing.T)
|
|||||||
t.Errorf("expected %d completions, got %d", numGoroutines, completedCount.Load())
|
t.Errorf("expected %d completions, got %d", numGoroutines, completedCount.Load())
|
||||||
}
|
}
|
||||||
|
|
||||||
// Final state should be READY
|
// Final state should be IDLE
|
||||||
if sm.GetState() != StateIdle {
|
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)
|
t.Logf("Execution order: %v", executionOrder)
|
||||||
|
|||||||
Reference in New Issue
Block a user