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 a race condition in recorder tests #31

Merged
merged 1 commit into from
Apr 18, 2018
Merged

Conversation

bpineau
Copy link
Owner

@bpineau bpineau commented Apr 18, 2018

When we switch the filesystem under a running recorder during
failure tests, we don't want the garbage collection
deleteObsoleteFiles() to run at the same time, since he may
well be traversing the filesystem being replaced.
And using the real expected type/unit (time) is always better.

When we switch the filesystem under a running recorder during
failure tests, we don't want the garbage collection
deleteObsoleteFiles() to run at the same time, since he may
well be traversing the filesystem being replaced.
And using the real expected type/unit (time) is always better.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 91.36% when pulling 0c56a6f on fix_recorder_race into e73eba1 on master.

@bpineau bpineau merged commit 33eb3d1 into master Apr 18, 2018
@bpineau bpineau deleted the fix_recorder_race branch April 18, 2018 16:05
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