Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
denopink committed Apr 2, 2024
1 parent 54bb265 commit d5f5710
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/websocket/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ func TestEndToEnd(t *testing.T) {
Jitter: 1.0 / 3.0,
MaxInterval: 341*time.Second + 333*time.Millisecond,
}),
ws.WithIPv6(),
ws.WithIPv4(),
ws.NowFunc(time.Now),
ws.ConnectTimeout(30*time.Second),
Expand All @@ -110,7 +109,7 @@ func TestEndToEnd(t *testing.T) {
// Allow multiple calls to start.
got.Start()

ctx, cancel := context.WithTimeout(context.Background(), 2000*time.Millisecond)
ctx, cancel := context.WithTimeout(context.Background(), 500*time.Millisecond)
defer cancel()

for {
Expand Down

0 comments on commit d5f5710

Please sign in to comment.