This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new c58da14968f [fix][test] fix bug for
testcase(PersistentTopicsTest#testExamineMessage) (#20154)
c58da14968f is described below
commit c58da14968f27cf2a4813db01f387b61a5a03636
Author: StevenLuMT <[email protected]>
AuthorDate: Sat Apr 22 21:22:26 2023 +0800
[fix][test] fix bug for testcase(PersistentTopicsTest#testExamineMessage)
(#20154)
Co-authored-by: lushiji <[email protected]>
---
.../test/java/org/apache/pulsar/broker/admin/PersistentTopicsTest.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/PersistentTopicsTest.java
b/pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/PersistentTopicsTest.java
index 6949fe931ca..f80d9863a26 100644
---
a/pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/PersistentTopicsTest.java
+++
b/pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/PersistentTopicsTest.java
@@ -1144,6 +1144,7 @@ public class PersistentTopicsTest extends
MockedPulsarServiceBaseTest {
// Check examine message not allowed on partitioned topic.
try {
admin.topics().examineMessage(topicName, "earliest", 1);
+ Assert.fail("fail to check examine message not allowed on
partitioned topic");
} catch (PulsarAdminException e) {
Assert.assertEquals(e.getMessage(),
"Examine messages on a partitioned topic is not allowed,
please try examine message on specific "