KAFKA-14919 sync topic configs test#16143
KAFKA-14919 sync topic configs test#16143anton-liauchuk wants to merge 1 commit intoapache:trunkfrom
Conversation
|
Please take a look. |
|
Hi @anton-liauchuk Thanks for the PR! Is the KAFKA ticket linked the right one? I don't think this implementation matches the description of that ticket. I expected changes to the FakeLocalMetadataStore to be necessary. |
From the task description:
I made changes to the tests to ensure they assert a specific operation. Before my changes, the test The test For now, it seems that these two tests were the main issue in this test class. With the new changes, each test will assert only one particular functionality. Do you think we should also change the metadata store? |
|
Okay thank you for the clarification @anton-liauchuk . While avoiding confusing one operation for another by turning off all-but-one operation avoids the ambiguity, it still leaves the opportunity for ambiguity to appear in the future. If we are avoiding certain situations due to ambiguity, that reduces our total test coverage. Also I think
Thanks, that definitely needed to be done. FakeLocalMetadataStore should have the granularity to assert that we used incremental vs the legacy API, and it doesn't right now. That would have caught this mistake earlier when MM2 support for the new API was added. Please refactor the FakeLocalMetadata store to make the ambiguity impossible, thanks! |
4cd3a5d to
007caeb
Compare
|
Please take a look. |
007caeb to
7361b28
Compare
7361b28 to
0b7ea69
Compare
|
This PR is being marked as stale since it has not had any activity in 90 days. If you If you are having difficulty finding a reviewer, please reach out on the [mailing list](https://kafka.apache.org/contact). If this PR is no longer valid or desired, please feel free to close it. If no activity occurs in the next 30 days, it will be automatically closed. |
|
This PR has been closed since it has not had any activity in 120 days. If you feel like this |
KAFKA-14919 sync topic configs test