We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82ac066 commit 491ebfaCopy full SHA for 491ebfa
internal/topic/topicwriterinternal/writer_reconnector_test.go
@@ -482,6 +482,7 @@ func TestWriterImpl_Reconnect(t *testing.T) {
482
483
strm.EXPECT().Recv().Do(func() {
484
xtest.WaitChannelClosed(t, streamClosed)
485
+ t.Logf("channel closed: %v", name)
486
}).Return(nil, errors.New("test stream closed")).MaxTimes(1)
487
488
return strm
@@ -542,7 +543,9 @@ func TestWriterImpl_Reconnect(t *testing.T) {
542
543
err := w.Write(ctx, newTestMessages(1))
544
require.NoError(t, err)
545
546
+ t.Log("Waiting to connection loop stopped...")
547
xtest.WaitChannelClosedWithTimeout(t, connectionLoopStopped, 4*time.Second)
548
+ t.Log("Connection loop stopped")
549
})
550
}
551
0 commit comments