File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,13 @@ import (
31
31
"time"
32
32
33
33
. "github.com/uber/tchannel-go"
34
-
35
- "github.com/stretchr/testify/assert"
36
- "github.com/stretchr/testify/require"
37
34
"github.com/uber/tchannel-go/raw"
35
+ "github.com/uber/tchannel-go/relay"
38
36
"github.com/uber/tchannel-go/testutils"
39
37
"github.com/uber/tchannel-go/testutils/testreader"
38
+
39
+ "github.com/stretchr/testify/assert"
40
+ "github.com/stretchr/testify/require"
40
41
"golang.org/x/net/context"
41
42
)
42
43
@@ -548,7 +549,7 @@ func TestWriteAfterConnectionError(t *testing.T) {
548
549
// Closing network connections can lead to warnings in many places.
549
550
// TODO: Relay is disabled due to https://github.com/uber/tchannel-go/issues/390
550
551
// Enabling relay causes the test to be flaky.
551
- opts := testutils .NewOpts ().DisableLogVerification ()
552
+ opts := testutils .NewOpts ().DisableLogVerification (). NoRelay ()
552
553
testutils .WithTestServer (t , opts , func (ts * testutils.TestServer ) {
553
554
testutils .RegisterEcho (ts .Server (), nil )
554
555
server := ts .Server ()
You can’t perform that action at this time.
0 commit comments