projects
/
platform
/
upstream
/
udisks2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31c6b50
)
integration-test: Mitigate race after mounting
author
Martin Pitt
<martinpitt@gnome.org>
Thu, 7 Jun 2012 06:51:24 +0000
(08:51 +0200)
committer
Martin Pitt
<martinpitt@gnome.org>
Thu, 7 Jun 2012 09:42:09 +0000
(11:42 +0200)
Also wait for udev and the rest of the system after calling mount before
asserting the mount path exists. Fixes a common failure of FS tests.
src/tests/integration-test
patch
|
blob
|
history
diff --git
a/src/tests/integration-test
b/src/tests/integration-test
index
7dc188d
..
8e88af1
100755
(executable)
--- a/
src/tests/integration-test
+++ b/
src/tests/integration-test
@@
-790,7
+790,7
@@
class FS(UDisksTestCase):
if label:
self.assertTrue(mount_path.endswith(label))
- self.
client.settle
()
+ self.
sync
()
self.assertEqual(fs.get_property('mount-points'), [mount_path])
self.assertTrue(self.is_mountpoint(mount_path))