Skip to content

Commit e8f20d4

Browse files
committed
fix test
1 parent 00fb002 commit e8f20d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/topic/topicwriterinternal/writer_reconnector_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ func TestWriterImpl_Reconnect(t *testing.T) {
516516
err := w.Write(ctx, newTestMessages(1))
517517
require.NoError(t, err)
518518

519-
xtest.WaitChannelClosed(t, connectionLoopStopped)
519+
xtest.WaitChannelClosedWithTimeout(t, connectionLoopStopped, 4*time.Second)
520520
})
521521
}
522522

0 commit comments

Comments
 (0)