nodece commented on code in PR #1256:
URL: https://github.com/apache/pulsar-client-go/pull/1256#discussion_r1698236735
##########
pulsar/consumer_test.go:
##########
@@ -3691,6 +3691,9 @@ func TestConsumerSeekByTimeOnPartitionedTopic(t
*testing.T) {
err = consumer.SeekByTime(currentTimestamp.Add(-retentionTimeInSecond))
assert.Nil(t, err)
+ // Seek command disconnects the consumer, so we need to wait for
reconnection.
+ <-time.After(5 * time.Second)
Review Comment:
Reconnect to broker.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]