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

GitStatusCache: fix race condition in test setup #192

Merged
merged 1 commit into from
Aug 21, 2018

Conversation

jamill
Copy link
Member

@jamill jamill commented Aug 20, 2018

This is to fix an issue that happened (intermittently) in the functional
tests. There is a race condition where the test is attempting to delete
the status cache file, but the status cache might not have been
generated for the test repository.

To fix this, the test setup will wait for the initial status cache to be
generated, so it can proceed from a known state.

(cherry picked from commit 97975e4)
(port pull request #172)

This is to fix an issue that happened (intermittently) in the functional
tests. There is a race condition where the test is attempting to delete
the status cache file, but the status cache might not have been
generated for the test repository.

To fix this, the test setup will wait for the initial status cache to be
generated, so it can proceed from a known state.

(cherry picked from commit 97975e4)
@jamill jamill merged commit c948d83 into microsoft:milestones/M139 Aug 21, 2018
@jrbriggs jrbriggs added this to the M139 milestone Aug 21, 2018
@jamill jamill deleted the race_condition_fix_to_M139 branch April 3, 2019 02:28
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