Skip to content

KAFKA-7180: Fixing the flaky test testHWCheckpointWithFailuresSingleLogSegment#5387

Closed
gitlw wants to merge 1 commit intoapache:trunkfrom
gitlw:fixing_flacky_logrecevorytest
Closed

KAFKA-7180: Fixing the flaky test testHWCheckpointWithFailuresSingleLogSegment#5387
gitlw wants to merge 1 commit intoapache:trunkfrom
gitlw:fixing_flacky_logrecevorytest

Conversation

@gitlw
Copy link
Copy Markdown
Contributor

@gitlw gitlw commented Jul 18, 2018

By waiting until server1 has joined the ISR before shutting down server2

Rerun the test method many times after the code change, and there is no flakiness any more.

Committer Checklist (excluded from commit message)

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

…as joined the ISR before shutting down server2
Copy link
Copy Markdown
Contributor

@MayureshGharat MayureshGharat left a comment

Choose a reason for hiding this comment

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

LGTM

@guozhangwang guozhangwang requested a review from lindong28 July 28, 2018 14:51
@guozhangwang
Copy link
Copy Markdown
Contributor

retest this please

@lindong28 lindong28 self-assigned this Jul 30, 2018
@lindong28
Copy link
Copy Markdown
Member

@gitlw Nice catch. Thanks for fixing the test. LGTM.

lindong28 pushed a commit that referenced this pull request Jul 30, 2018
…ogSegment

By waiting until server1 has joined the ISR before shutting down server2

Rerun the test method many times after the code change, and there is no flakiness any more.

Author: Lucas Wang <luwang@linkedin.com>

Reviewers: Mayuresh Gharat <gharatmayuresh15@gmail.com>, Dong Lin <lindong28@gmail.com>

Closes #5387 from gitlw/fixing_flacky_logrecevorytest

(cherry picked from commit 96bc0b8)
Signed-off-by: Dong Lin <lindong28@gmail.com>
@lindong28
Copy link
Copy Markdown
Member

Merged to trunk and the 2.0 branch.

@lindong28 lindong28 closed this in 96bc0b8 Jul 30, 2018
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.

4 participants