Technoboy- commented on code in PR #25038:
URL: https://github.com/apache/pulsar/pull/25038#discussion_r2591157374
##########
pulsar-broker/src/test/java/org/apache/pulsar/client/impl/LookupRetryTest.java:
##########
@@ -282,6 +313,9 @@ private Queue<LookupError> errorList(String topicName) {
@Override
protected void
handlePartitionMetadataRequest(CommandPartitionedTopicMetadata
partitionMetadata) {
TopicName t = TopicName.get(partitionMetadata.getTopic());
+ if (t.getLocalName().equals(TEST_TIME_OUT_SEMAPHORE_RELEASE)) {
Review Comment:
It's better to use mock.answer, to mock the request method timeout.
--
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]