You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by al...@apache.org on 2017/02/13 17:48:15 UTC

[1/2] beam git commit: Increase the bounds on the test to reduce flakiness

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 <so...@google.com>
Authored: Mon Feb 13 09:10:48 2017 -0800
Committer: Sourabh Bajaj <so...@google.com>
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()
 
 


[2/2] beam git commit: This closes #1992

Posted by al...@apache.org.
This closes #1992


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/982ea7af
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/982ea7af
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/982ea7af

Branch: refs/heads/master
Commit: 982ea7af7bd631fd74a97482b7de4f65f660cbdd
Parents: e2ef2d0 c5e5363
Author: Ahmet Altay <al...@google.com>
Authored: Mon Feb 13 09:47:47 2017 -0800
Committer: Ahmet Altay <al...@google.com>
Committed: Mon Feb 13 09:47:47 2017 -0800

----------------------------------------------------------------------
 sdks/python/apache_beam/examples/complete/estimate_pi_test.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------