]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa: allow client mount to reset fully
authorVenky Shankar <vshankar@redhat.com>
Thu, 17 Oct 2019 15:29:42 +0000 (20:59 +0530)
committerVenky Shankar <vshankar@redhat.com>
Mon, 21 Oct 2019 12:38:37 +0000 (08:38 -0400)
... without this there is a sutle race where it takes a
bit of time after a hard reset of a client mount causing
further checks to fail as the (still up) client is still
connected to the MDS.

Fixes: http://tracker.ceph.com/issues/42213
Signed-off-by: Venky Shankar <vshankar@redhat.com>
qa/tasks/cephfs/test_client_recovery.py

index f92bbb3cc5376e6f04563a0e3e8116b1d85b166c..2bad19d8afe844e5f95e87c1804a6259069fd7ce 100644 (file)
@@ -185,6 +185,9 @@ class TestClientRecovery(CephFSTestCase):
         # The mount goes away while the MDS is offline
         self.mount_a.kill()
 
+        # wait for it to die
+        time.sleep(5)
+
         self.fs.mds_restart()
 
         # Enter reconnect phase