Skip to content

[MRG] TST add more iteration in randomized SVD test#14308

Merged
rth merged 1 commit intoscikit-learn:masterfrom
glemaitre:is/flaky_test_rand_svd
Jul 12, 2019
Merged

[MRG] TST add more iteration in randomized SVD test#14308
rth merged 1 commit intoscikit-learn:masterfrom
glemaitre:is/flaky_test_rand_svd

Conversation

@glemaitre
Copy link
Copy Markdown
Member

I got this test failing on some PRs. I tried with 1000 different random state and it failed 12% of the time.
Increasing the number of iterations solved the issue and make it more robust.

@glemaitre glemaitre changed the title [MRG] TST add more iteration in randomized SVD test [WIP] TST add more iteration in randomized SVD test Jul 12, 2019
@glemaitre
Copy link
Copy Markdown
Member Author

I will run once the CI with different random state to check that this is robust on as well on 32 bits built.

@glemaitre
Copy link
Copy Markdown
Member Author

OK It is working also on 32 bits on 1000 different random_state. I am reverting my last commit

@glemaitre glemaitre force-pushed the is/flaky_test_rand_svd branch from e1922b5 to 44a2e94 Compare July 12, 2019 11:26
@glemaitre glemaitre force-pushed the is/flaky_test_rand_svd branch from 44a2e94 to 32b9fe9 Compare July 12, 2019 11:30
@glemaitre glemaitre changed the title [WIP] TST add more iteration in randomized SVD test [MRG] TST add more iteration in randomized SVD test Jul 12, 2019
Copy link
Copy Markdown
Member

@rth rth left a comment

Choose a reason for hiding this comment

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

Thanks!

@rth rth merged commit f7e082d into scikit-learn:master Jul 12, 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.

3 participants