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

Fix TestBlockRotation flakiness #3540

Merged
merged 2 commits into from
Jun 3, 2021
Merged

Fix TestBlockRotation flakiness #3540

merged 2 commits into from
Jun 3, 2021

Conversation

ryanhall07
Copy link
Collaborator

Sleeping for 10x the tick is flaky. Instead await 5s for the expected
results.

❯ go test -tags integration ./src/dbnode/integration -run TestIndexBlockRotation -count=20
ok github.com/m3db/m3/src/dbnode/integration 232.725s

What this PR does / why we need it:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing and/or backwards incompatible change?:


Does this PR require updating code package or user-facing documentation?:


Sleeping for 10x the tick is flaky. Instead await 5s for the expected
results.

❯ go test -tags integration ./src/dbnode/integration -run TestIndexBlockRotation -count=20
ok  	github.com/m3db/m3/src/dbnode/integration	232.725s
@ryanhall07 ryanhall07 enabled auto-merge (squash) June 3, 2021 16:31
@ryanhall07 ryanhall07 merged commit 4d97a41 into master Jun 3, 2021
@ryanhall07 ryanhall07 deleted the rhall-block-flake branch June 3, 2021 16:43
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