Skip to content

Commit

Permalink
Fix wrong equals check. (apache#14201)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattisonchao authored and nicklixinyang committed Apr 20, 2022
1 parent 1d6ac1c commit a4456c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ public void testSplitUnloadLookupTest() throws Exception {
.subscribe();

NamespaceBundle bundleInBroker1AfterSplit = pulsar2.getNamespaceService().getBundle(TopicName.get(topic2));
assertNotEquals(unsplitBundle, bundleInBroker1AfterSplit);
assertNotEquals(unsplitBundle, bundleInBroker1AfterSplit.toString());

consumer1.close();
consumer2.close();
Expand Down

0 comments on commit a4456c1

Please sign in to comment.