This is an automated email from the ASF dual-hosted git repository.
xiangying pushed a commit to branch branch-2.10
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-2.10 by this push:
new 043ecd7d06e [fix][branch-2.10]Fix compilation issue introduced by Save
createIfMissing in TopicLoadingContext (#19993)
043ecd7d06e is described below
commit 043ecd7d06e837f54dfe28074843a5f6dc2fbece
Author: xiangying <[email protected]>
AuthorDate: Tue Jul 4 22:03:45 2023 +0800
[fix][branch-2.10]Fix compilation issue introduced by Save createIfMissing
in TopicLoadingContext (#19993)
---
.../test/java/org/apache/pulsar/broker/service/BrokerServiceTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/BrokerServiceTest.java
b/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/BrokerServiceTest.java
index dbab6996c87..e6c12bbc578 100644
---
a/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/BrokerServiceTest.java
+++
b/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/BrokerServiceTest.java
@@ -1157,7 +1157,7 @@ public class BrokerServiceTest extends BrokerTestBase {
} else {
// check topic should not be created if disable
autoCreateTopic.
Assert.assertTrue(load.isDone());
- Assert.assertTrue(load.get().isEmpty());
+ Assert.assertTrue(load.get().isPresent());
}
}
} finally {