diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2014-08-19 11:23:54 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2014-08-19 11:23:54 +0200 |
commit | 78f9441fb7c5ee91afcbb8dc10bbcbe8f48514d1 (patch) | |
tree | b6d67a0a0099fd32f356e407d278c3704d03c3b9 | |
parent | c6cb156f6afb1ab5967ca03db1fa79ad12130dc7 (diff) |
integration-tests: sync file systems in sync()
In sync(), also sync the file systems. This mitigates a race condition with
changing labels, which particularly surfaces with the NTFS tests.
-rwxr-xr-x | src/tests/integration-test | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/integration-test b/src/tests/integration-test index caf3231..ac4a034 100755 --- a/src/tests/integration-test +++ b/src/tests/integration-test @@ -203,6 +203,7 @@ class UDisksTestCase(unittest.TestCase): sys.stderr.write('[wait timeout!] ') sys.stderr.flush() klass.client.settle() + os.sync() @classmethod def sync_workaround(klass): |