Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-12819: Add assert messages to MirrorMaker tests plus other qual… #10762

Merged

Conversation

mdedetrich
Copy link
Contributor

@mdedetrich mdedetrich commented May 25, 2021

This PR does various QoL improvements for the MM tests, mainly some basic refactoring to remove some boilerplate as well as adding messages to all of the assert statements so that if they fail there is more context

Some improvements to the assert failure messages may need to be done to make it more clear whats actually going on, @ryannedolan you may have more to add on this point.

  • Verify design and implementation
  • Verify test coverage and CI build status

@ryannedolan
Copy link
Contributor

thx lgtm!

@mdedetrich mdedetrich force-pushed the add-assert-messages-to-MM-tests branch from 7693192 to eede1cc Compare May 25, 2021 14:55
@mdedetrich
Copy link
Contributor Author

Okay PR is ready, some tests are failing but it seems to be due to unstable CI

Copy link
Contributor

@kkonstantine kkonstantine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the improvements @mdedetrich
LGTM

The few test failures indeed are not relevant.

@kkonstantine kkonstantine merged commit 56d9482 into apache:trunk May 27, 2021
ijuma added a commit to ijuma/kafka that referenced this pull request May 27, 2021
…nups

* apache-github/trunk:
MINOR: Adjust parameter ordering of `waitForCondition` and
`retryOnExceptionWithTimeout` (apache#10759)
KAFKA-12796: Removal of deprecated classes under streams-scala
(apache#10710)
KAFKA-12819: Add assert messages to MirrorMaker tests plus other
quality of life improvements (apache#10762)
  Update implementation.html (apache#10771)
  MINOR: Log constructor: Flip logical NOT for readability (apache#10756)
MINOR: deprecate TaskMetadata constructor and add KIP-740 notes to
upgrade guide (apache#10755)
  MINOR: Log more information when producer snapshot is written (apache#10757)
  KAFKA-12260: Avoid hitting NPE for partitionsFor (apache#10017)
MINOR: add window verification to sliding-window co-group test
(apache#10745)
KAFKA-12800: Configure generator to fail on trailing JSON tokens
(apache#10717)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants