Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ class ConsumerTopicCreationTest {
@MethodSource(Array("parameters"))
def testAutoTopicCreation(groupProtocol: String, brokerAutoTopicCreationEnable: JBoolean, consumerAllowAutoCreateTopics: JBoolean): Unit = {
val testCase = new ConsumerTopicCreationTest.TestCase(groupProtocol, brokerAutoTopicCreationEnable, consumerAllowAutoCreateTopics)
testCase.setUp(new EmptyTestInfo())
testCase.setUp(new EmptyTestInfo() {
override def getDisplayName = "quorum=kraft"
})
try testCase.test() finally testCase.tearDown()
}

Expand Down Expand Up @@ -88,7 +90,7 @@ object ConsumerTopicCreationTest {
}, "Timed out waiting to consume")

// MetadataRequest is guaranteed to create the topic znode if creation was required
val topicCreated = zkClient.getAllTopicsInCluster().contains(topic_2)
val topicCreated = getTopicIds().keySet.contains(topic_2)
if (brokerAutoTopicCreationEnable && consumerAllowAutoCreateTopics)
assertTrue(topicCreated)
else
Expand Down