diff options
author | Pavlo Strokov <pstrokov@gitlab.com> | 2020-09-11 08:16:54 +0300 |
---|---|---|
committer | Pavlo Strokov <pstrokov@gitlab.com> | 2020-09-11 08:16:54 +0300 |
commit | 3342dd35407bda8e1887bb5afdec0241c83ce998 (patch) | |
tree | b75ca78cf01d1fc0006f36e28a246fc9b9b27c3f /client/dial_test.go | |
parent | 921e362bc5eff0c59f92f9809447d199bdeaf8ab (diff) |
Flaky test: [1.14, v2.27.0, race-go]: TestDial_Correlation/stream
Test failure with Go 1.14 and Git 2.27.0 with a -race flag.
Diffstat (limited to 'client/dial_test.go')
-rw-r--r-- | client/dial_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/dial_test.go b/client/dial_test.go index e15f1b7fa..46622ded0 100644 --- a/client/dial_test.go +++ b/client/dial_test.go @@ -201,6 +201,8 @@ func TestDial_Correlation(t *testing.T) { PingStreamMethod: func(stream proxytestdata.TestService_PingStreamServer) error { cid := correlation.ExtractFromContext(stream.Context()) assert.Equal(t, "correlation-id-1", cid) + _, err := stream.Recv() + assert.NoError(t, err) return stream.Send(&proxytestdata.PingResponse{}) }, } |