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

Fix flaky test in test_trainer #7689

Merged
merged 1 commit into from Oct 10, 2020
Merged

Fix flaky test in test_trainer #7689

merged 1 commit into from Oct 10, 2020

Conversation

sgugger
Copy link
Collaborator

@sgugger sgugger commented Oct 9, 2020

What does this PR do?

As investigated with @LysandreJik today, the corresponding test was flaky because loggin_dir has a default that depends of time (so the test fails if the two Trainer are instantiated just before a new minute and just after).

@sgugger sgugger merged commit c6e18de into master Oct 10, 2020
@sgugger sgugger deleted the fix_trainer_flaky_test branch October 10, 2020 00:01
fabiocapsouza pushed a commit to fabiocapsouza/transformers that referenced this pull request Nov 15, 2020
fabiocapsouza added a commit to fabiocapsouza/transformers that referenced this pull request Nov 15, 2020
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

1 participant