KAFKA-13592:Fix flaky test ControllerIntegrationTest.testTopicIdUpgradeAfterReassigningPartitions#11687
KAFKA-13592:Fix flaky test ControllerIntegrationTest.testTopicIdUpgradeAfterReassigningPartitions#11687hachikuji merged 10 commits intoapache:trunkfrom
Conversation
|
@Kvicii Thanks for the PR. I am a bit confused because the PR refactors the code but it does not seem to fix any issues. Did I miss something? Have you been able to make the test fail? |
|
@dajac The first build failed didn't seem to be because of this test, so I rebuilt it.Can you tell me what the expectations should be, thanks a lot |
|
@Kvicii Once we understand the issue, we can improve the test to fix it. |
|
@dajac I used |
|
@Kvicii can you please fix the conflicts on this one? I think that you have the correct fix here and once you have fixed the conflicts, we can ask for a review from the community. |
core/src/test/scala/unit/kafka/controller/ControllerIntegrationTest.scala
Outdated
Show resolved
Hide resolved
|
@Kvicii Thanks for the patch. I checked this out and I think we need to account for a delay between when the change hits zk and when it is reflected in the Also, could we move the unrelated cleanups into a separate PR? I know it can be difficult to overlook messy code, but it makes review more difficult since we have to look at every line to see which changes actually matter. And, on the other hand, it is easy to review cleanup PRs if they are not changing any logic. |
|
@hachikuji ok, let me split other PR. |
|
@hachikuji I agree with you.If f2dd2f5 make sure the unit test pass. |
|
@Kvicii Thanks for checking. Do you want to pull those changes here or shall I do a separate PR? |
|
@hachikuji I moved those changes here, thx. |
this issue similar to #11666.
Committer Checklist (excluded from commit message)