Technoboy- commented on issue #20673:
URL: https://github.com/apache/pulsar/issues/20673#issuecomment-1613074539
```
@Test(timeOut = 10_000, dataProvider = "isPartition")
public void deleteTopicCloseTransactionBufferTest(boolean isPartition)
throws Exception {
int partitionCount = isPartition ? 30 : 1;
List<TopicName> topicNames = createAndLoadTopics(isPartition,
partitionCount);
String namespaceName = topicNames.get(0).getNamespace();
checkSnapshotPublisherCount(namespaceName, 1);
for (int i = 0; i < topicNames.size(); i++) {
deleteTopic(isPartition, topicNames.get(i));
// When delete all topics of the namespace, the publisher count
should be 0.
int expectCount = i == topicNames.size() - 1 ? 0 : 1;
checkSnapshotPublisherCount(namespaceName, expectCount);
}
}
```
I think we can remove the timeout of the test. Because it creates and then
deletes 60 topics if `isPartition=true`.
--
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]