We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3550d8f commit f0f6579Copy full SHA for f0f6579
internal/tiger/cmd/auth_test.go
@@ -15,7 +15,6 @@ import (
15
"regexp"
16
"strings"
17
"testing"
18
- "time"
19
20
"github.com/timescale/tiger-cli/internal/tiger/config"
21
)
@@ -410,10 +409,6 @@ func mockOpenBrowser(t *testing.T) func(string) error {
410
409
411
// Give the OAuth server a moment to start
412
go func() {
413
- // Sleep to ensure the OAuth callback server is listening
414
- // This prevents "EOF" errors in CI when the server hasn't started yet
415
- time.Sleep(100 * time.Millisecond)
416
-
417
// Make the OAuth callback request directly
418
callbackURL := fmt.Sprintf("%s?code=test-auth-code&state=%s", redirectURI, state)
419
t.Logf("Mock browser making callback request to: %s", callbackURL)
0 commit comments