Skip to content

[BEAM-1469] Increase the bounds on the test to reduce flakiness#1992

Merged
asfgit merged 1 commit intoapache:masterfrom
sb2nov:BEAM-1469-fix-flaky-pi-test
Feb 13, 2017
Merged

[BEAM-1469] Increase the bounds on the test to reduce flakiness#1992
asfgit merged 1 commit intoapache:masterfrom
sb2nov:BEAM-1469-fix-flaky-pi-test

Conversation

@sb2nov
Copy link
Contributor

@sb2nov sb2nov commented Feb 13, 2017

R: @aaltay PTAL

Surprisingly I ran the test 100 times in a loop and didn't see a flake

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

  • Make sure the PR title is formatted like:
    [BEAM-<Jira issue #>] Description of pull request
  • Make sure tests pass via mvn clean verify. (Even better, enable
    Travis-CI on your fork and ensure the whole test matrix passes).
  • Replace <Jira issue #> in the title with the actual Jira issue
    number, if there is one.
  • If this contribution is large, please file an Apache
    Individual Contributor License Agreement.

@@ -43,7 +43,7 @@ def test_basics(self):

# Note: Probabilistically speaking this test can fail with a probability
# that is very small (VERY) given that we run at least 10 million trials.
Copy link
Member

Choose a reason for hiding this comment

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

Are we running 10 million trials in this test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for catching. Fixed, we run 500k.

@sb2nov sb2nov force-pushed the BEAM-1469-fix-flaky-pi-test branch from 430ba5f to c5e5363 Compare February 13, 2017 17:11
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.007%) to 69.702% when pulling c5e5363 on sb2nov:BEAM-1469-fix-flaky-pi-test into e2ef2d0 on apache:master.

@asfbot
Copy link

asfbot commented Feb 13, 2017

Build finished.
--none--

@asfbot
Copy link

asfbot commented Feb 13, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/7358/
--none--

@aaltay
Copy link
Member

aaltay commented Feb 13, 2017

LGTM, thank you.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.003%) to 69.713% when pulling c5e5363 on sb2nov:BEAM-1469-fix-flaky-pi-test into e2ef2d0 on apache:master.

@asfbot
Copy link

asfbot commented Feb 13, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/7360/
--none--

@asfgit asfgit merged commit c5e5363 into apache:master Feb 13, 2017
asfgit pushed a commit that referenced this pull request Feb 13, 2017
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.

5 participants