From 087b1e577325f7d70532f0d20a4f97415ee98847 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 7 Jun 2012 08:51:24 +0200 Subject: [PATCH] integration-test: Mitigate race after mounting 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/integration-test b/src/tests/integration-test index 7dc188d..8e88af1 100755 --- 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)) -- 2.7.4