Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign updistsqlrun: fix Sampler test flake #31363
Conversation
RaduBerinde
requested a review
from
rytaft
Oct 15, 2018
RaduBerinde
requested review from
cockroachdb/distsql-prs
as
code owners
Oct 15, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
rytaft
approved these changes
Oct 15, 2018
Reviewed 1 of 1 files at r1.
Reviewable status:complete! 0 of 0 LGTMs obtained (and 1 stale)
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
bors r+ |
bot
pushed a commit
that referenced
this pull request
Oct 15, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
craig
bot
commented
Oct 15, 2018
Build succeeded |
craig
bot
merged commit 978a113
into
cockroachdb:master
Oct 15, 2018
RaduBerinde
deleted the
RaduBerinde:flaky-sampler-test
branch
Oct 15, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RaduBerinde commentedOct 15, 2018
The Sampler test verifies that the sampling is uniform by running it
many times and checking the frequencies. The probability of failure
decreases exponentially with
numRuns.The fix increases the number of runs to 5000 but to avoid slowing down
the test, we modify it to check every 200 runs (and exit early).
Fixes #31293.
Release note: None