Skip to content

MINOR: Refactor MetricsIntegrationTest#6924

Closed
cadonna wants to merge 3 commits intoapache:trunkfrom
cadonna:refactorMetricsIntegrationTest
Closed

MINOR: Refactor MetricsIntegrationTest#6924
cadonna wants to merge 3 commits intoapache:trunkfrom
cadonna:refactorMetricsIntegrationTest

Conversation

@cadonna
Copy link
Copy Markdown
Member

@cadonna cadonna commented Jun 12, 2019

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

cadonna added 2 commits June 12, 2019 13:38
- Timeout occurred due to initial slow rebalancing.
- Added code to wait until `KafkaStreams` instance is in state RUNNING to check registration of metrics and
  in state NOT_RUNNING to check deregistration of metrics.
- I removed all other wait conditions, because they are not needed if `KafkaStreams` instance is in the right
  state.
@cadonna cadonna changed the title Refactor metrics integration test MINOR: Refactor metrics integration test Jun 12, 2019
@cadonna cadonna changed the title MINOR: Refactor metrics integration test MINOR: Refactor MetricsIntegrationTest Jun 12, 2019
Copy link
Copy Markdown

@abbccdda abbccdda left a comment

Choose a reason for hiding this comment

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

Does the refactoring help with the test flakiness?

@cadonna
Copy link
Copy Markdown
Member Author

cadonna commented Jun 12, 2019

@abbccdda, please wait until PR #6922 is merged. This draft pull request is branched out from the branch of that PR. That's why you not only see the refactoring commit but also the commit that tries to get rid of the flakiness. When PR #6922 is merged, I will upgrade this draft PR to an actual PR.

@cadonna cadonna marked this pull request as ready for review June 13, 2019 06:46
@cadonna cadonna closed this Jun 13, 2019
@cadonna cadonna deleted the refactorMetricsIntegrationTest branch October 21, 2019 10:53
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.

2 participants