Merge pull request #6 from dwoz/win_pkg_flaky

Try running fsync to avoid fs caching race condition
This commit is contained in:
Megan Wilhite 2018-10-08 09:35:08 -04:00 committed by GitHub
commit 75809b4f8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,6 +76,7 @@ class WinPKGTest(ModuleCase):
reboot: False
'''))
fp_.flush()
os.fsync(fp_.fileno())
# now check if curl is also in cache and repo query
pkgs.append('curl')
for pkg in pkgs: