Skip to content

Commit

Permalink
TestRelayStalledClientConnection still flaky with leaked frames
Browse files Browse the repository at this point in the history
  • Loading branch information
cinchurge committed Mar 28, 2022
1 parent c85a1e6 commit 004153a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions relay_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -915,13 +915,13 @@ func TestRelayStalledClientConnection(t *testing.T) {
// This needs to be large enough to fill up the client TCP buffer.
const _calls = 100

// TODO: enable framepool checks
opts := testutils.NewOpts().
// Expect errors from dropped frames.
AddLogFilter("Dropping call due to slow connection.", _calls).
SetSendBufferSize(10). // We want to hit the buffer size earlier.
SetServiceName("s1").
SetRelayOnly().
SetCheckFramePooling()
SetRelayOnly()
testutils.WithTestServer(t, opts, func(t testing.TB, ts *testutils.TestServer) {
// Track when the server receives calls
gotCall := make(chan struct{}, _calls)
Expand Down

0 comments on commit 004153a

Please sign in to comment.