Repository: beam Updated Branches: refs/heads/master e2ef2d020 -> 982ea7af7
Increase the bounds on the test to reduce flakiness Project: http://git-wip-us.apache.org/repos/asf/beam/repo Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/c5e53633 Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/c5e53633 Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/c5e53633 Branch: refs/heads/master Commit: c5e53633fbaee58d09a0c7e60be15a87a9a25699 Parents: e2ef2d0 Author: Sourabh Bajaj <[email protected]> Authored: Mon Feb 13 09:10:48 2017 -0800 Committer: Sourabh Bajaj <[email protected]> Committed: Mon Feb 13 09:10:48 2017 -0800 ---------------------------------------------------------------------- sdks/python/apache_beam/examples/complete/estimate_pi_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/beam/blob/c5e53633/sdks/python/apache_beam/examples/complete/estimate_pi_test.py ---------------------------------------------------------------------- diff --git a/sdks/python/apache_beam/examples/complete/estimate_pi_test.py b/sdks/python/apache_beam/examples/complete/estimate_pi_test.py index ddd5f76..235cee9 100644 --- a/sdks/python/apache_beam/examples/complete/estimate_pi_test.py +++ b/sdks/python/apache_beam/examples/complete/estimate_pi_test.py @@ -42,8 +42,8 @@ class EstimatePiTest(unittest.TestCase): result = p | 'Estimate' >> estimate_pi.EstimatePiTransform(5000) # Note: Probabilistically speaking this test can fail with a probability - # that is very small (VERY) given that we run at least 10 million trials. - assert_that(result, in_between(3.13, 3.15)) + # that is very small (VERY) given that we run at least 500 thousand trials. + assert_that(result, in_between(3.125, 3.155)) p.run()
