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

[BEAM-4858] Increase tolerance on linear regression tests #8556

Merged
merged 3 commits into from May 11, 2019

Conversation

yifanmai
Copy link
Contributor

Currently BatchElementsTest.test_no_numpy_regression and BatchElementsTest.test_numpy_regression uses assertAlmostEqual with a delta that corresponds to exactly the delta expected due to the random inputs. This means that additional error due to floating point calculations can cause the test to fail non-deterministically. This change adds an additional tolerance to account for the additional error.


Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java Build Status Build Status Build Status Build Status
Build Status
Build Status
Build Status Build Status Build Status
Python Build Status
Build Status
--- Build Status
Build Status
Build Status --- --- ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website
Non-portable Build Status Build Status Build Status Build Status
Portable --- Build Status --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@yifanmai
Copy link
Contributor Author

R: @charlesccychen
CC: @robertwb

@charlesccychen
Copy link
Contributor

Thanks, this LGTM. Will merge after tests.

@charlesccychen charlesccychen merged commit c02af60 into apache:master May 11, 2019
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.

None yet

2 participants