X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=ceph%2Fqa%2Ftasks%2Fcephfs%2Ftest_misc.py;h=c7328455890963e1c0d2fff6fcff31fc5af99d3a;hb=e306af509c4d4816a1f73b17a825ea5186fa0030;hp=342fb76d4dbf535ae92d5e19edf1b669d32c2016;hpb=5164c6f75c1d9ca9e83f6172e1cd48f9ab584acf;p=ceph.git diff --git a/ceph/qa/tasks/cephfs/test_misc.py b/ceph/qa/tasks/cephfs/test_misc.py index 342fb76d4..c73284558 100644 --- a/ceph/qa/tasks/cephfs/test_misc.py +++ b/ceph/qa/tasks/cephfs/test_misc.py @@ -25,8 +25,7 @@ class TestMisc(CephFSTestCase): # on lookup/open self.mount_b.umount_wait() self.set_conf('client', 'client debug getattr caps', 'true') - self.mount_b.mount() - self.mount_b.wait_until_mounted() + self.mount_b.mount_wait() # create a file and hold it open. MDS will issue CEPH_CAP_EXCL_* # to mount_a @@ -47,7 +46,7 @@ class TestMisc(CephFSTestCase): t = time.time() rctime = self.mount_a.getfattr(".", "ceph.dir.rctime") log.info("rctime = {}".format(rctime)) - self.assertGreaterEqual(rctime, t-10) + self.assertGreaterEqual(float(rctime), t - 10) def test_fs_new(self): self.mount_a.umount_wait()