From d8fff7e998647f16018720011c077189e73be0b5 Mon Sep 17 00:00:00 2001 From: Joshua Blum Date: Mon, 6 Jan 2025 15:41:38 -0500 Subject: [PATCH] test race --- rpc/connection_test.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/rpc/connection_test.go b/rpc/connection_test.go index f6e9b2d..cb57574 100644 --- a/rpc/connection_test.go +++ b/rpc/connection_test.go @@ -357,8 +357,9 @@ func TestDialableTransport(t *testing.T) { } output := testLogOutput{t: t} opts := ConnectionOpts{ - WrapErrorFunc: testWrapError, - TagsFunc: testLogTags, + WrapErrorFunc: testWrapError, + TagsFunc: testLogTags, + DontConnectNow: true, } uriStr := "fmprpc://localhost:8080" @@ -400,8 +401,9 @@ func TestDialableTLSConn(t *testing.T) { } output := testLogOutput{t: t} opts := ConnectionOpts{ - WrapErrorFunc: testWrapError, - TagsFunc: testLogTags, + WrapErrorFunc: testWrapError, + TagsFunc: testLogTags, + DontConnectNow: true, } uriStr := "fmprpc+tls://localhost:8080"