diff --git a/internal/pool/conn_state_test.go b/internal/pool/conn_state_test.go index 13690254..54d94af7 100644 --- a/internal/pool/conn_state_test.go +++ b/internal/pool/conn_state_test.go @@ -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)