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

[3.2] Fix multithreaded Snapshot test Failure #146

Merged
merged 2 commits into from
Sep 12, 2022

Conversation

ClaytonCalabrese
Copy link
Contributor

@ClaytonCalabrese ClaytonCalabrese commented Sep 12, 2022

The Snapshot test had a periodic failure due to a race condition involving "BinSnapshot" "JsonSnapshot" and "BinFromJsonSnapshot" when running multithreaded. This PR fixes that by changing the names to include the PID, so that collision does not occur.

Also included is a change to use / overload to have temp_file() be more portable in snapshot_suites.

Resolves #134

@ClaytonCalabrese ClaytonCalabrese added the bug Something isn't working label Sep 12, 2022
@ClaytonCalabrese ClaytonCalabrese self-assigned this Sep 12, 2022
@ClaytonCalabrese ClaytonCalabrese changed the title Fix multithreaded Snapshot test Failure [3.2] Fix multithreaded Snapshot test Failure Sep 12, 2022
@heifner heifner added OCI Work exclusive to OCI team and removed bug Something isn't working labels Sep 12, 2022
@ClaytonCalabrese ClaytonCalabrese merged commit b650d0a into main Sep 12, 2022
@ClaytonCalabrese ClaytonCalabrese deleted the fix_multithreaded_snapshot_test branch September 12, 2022 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Intermittent failure of unittest: snapshot_unit_test_eos
2 participants