mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #6 from dwoz/win_pkg_flaky
Try running fsync to avoid fs caching race condition
This commit is contained in:
commit
75809b4f8f
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue