MINOR: rewrite TopicBasedRemoteLogMetadataManagerTest by ClusterTestE…#15917
Merged
chia7712 merged 1 commit intoapache:trunkfrom May 16, 2024
Merged
MINOR: rewrite TopicBasedRemoteLogMetadataManagerTest by ClusterTestE…#15917chia7712 merged 1 commit intoapache:trunkfrom
chia7712 merged 1 commit intoapache:trunkfrom
Conversation
kamalcph
reviewed
May 10, 2024
3 tasks
kamalcph
approved these changes
May 10, 2024
Member
Author
showuon
reviewed
May 12, 2024
Member
showuon
left a comment
There was a problem hiding this comment.
Thanks for the improvement. Left some comments.
chia7712
commented
May 13, 2024
|
|
||
| void waitForReadyBrokers() throws InterruptedException; | ||
|
|
||
| default void waitForTopic(String topic, int partitions) throws InterruptedException { |
Member
Author
There was a problem hiding this comment.
@showuon I add a helper to make all ClusterInstance users :)
showuon
reviewed
May 13, 2024
| String logDir = TestUtils.tempDirectory("rlmm_segs_").getAbsolutePath(); | ||
| TopicBasedRemoteLogMetadataManager topicBasedRemoteLogMetadataManager = new TopicBasedRemoteLogMetadataManager(startConsumerThread); | ||
|
|
||
| System.out.println("[CHIA] " + bootstrapServers); |
Comment on lines
+51
to
+56
| topicBasedRemoteLogMetadataManager = RemoteLogMetadataManagerTestUtils.builder() | ||
| .topicIdPartitions(topicIdPartitions) | ||
| .bootstrapServers(bootstrapServers(listenerName())) | ||
| .startConsumerThread(startConsumerThread) | ||
| .remoteLogMetadataTopicPartitioner(remoteLogMetadataTopicPartitioner) | ||
| .build(); |
Member
Author
|
@showuon Please take a look if you have free time. I'd like to migrate all tests of storage to new test infra after this PR gets merged. |
Member
Author
|
I will merge #15962 first and then rebase this PR |
rreddy-22
pushed a commit
to rreddy-22/kafka-rreddy
that referenced
this pull request
May 24, 2024
…xtensions (apache#15917) Reviewers: Kamal Chandraprakash <kamal.chandraprakash@gmail.com>, Luke Chen <showuon@gmail.com>
TaiJuWu
pushed a commit
to TaiJuWu/kafka
that referenced
this pull request
Jun 8, 2024
…xtensions (apache#15917) Reviewers: Kamal Chandraprakash <kamal.chandraprakash@gmail.com>, Luke Chen <showuon@gmail.com>
gongxuanzhang
pushed a commit
to gongxuanzhang/kafka
that referenced
this pull request
Jun 12, 2024
…xtensions (apache#15917) Reviewers: Kamal Chandraprakash <kamal.chandraprakash@gmail.com>, Luke Chen <showuon@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the first PR used to migrate tests of storage to new test infra. With the new test infra, we can make those tests run on either zk or kraft cluster easily.
Committer Checklist (excluded from commit message)