Skip to content

Commit

Permalink
Remove flakey test that is time dependant
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyak committed Oct 24, 2024
1 parent 1555504 commit 5f5cffe
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions conn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,18 +117,6 @@ func TestOnClose(t *testing.T) {
assert.NoError(t, err)
}

func TestOnCloseWithContext(t *testing.T) {
t.Parallel()
client := newClient(t, noDataGen)

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

err := client.ConnectWithContext(ctx)

assert.ErrorIs(t, err, context.DeadlineExceeded)
}

func TestOnKeepAlive(t *testing.T) {
t.Parallel()

Expand Down

0 comments on commit 5f5cffe

Please sign in to comment.