X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fqa%2Ftasks%2Fcephfs%2Ftest_client_limits.py;h=3f8ffa8758f79c221bf4b2eb4a31e3d357708e9e;hb=c07f9fc5a4f48397831383549fb0482b93480643;hp=d8675fdad8b16eebed38ce98308929003838e374;hpb=9439ae556f035e65c9c107ae13ddd09457dbbecd;p=ceph.git diff --git a/ceph/qa/tasks/cephfs/test_client_limits.py b/ceph/qa/tasks/cephfs/test_client_limits.py index d8675fdad..3f8ffa875 100644 --- a/ceph/qa/tasks/cephfs/test_client_limits.py +++ b/ceph/qa/tasks/cephfs/test_client_limits.py @@ -61,8 +61,8 @@ class TestClientLimits(CephFSTestCase): # MDS should not be happy about that, as the client is failing to comply # with the SESSION_RECALL messages it is being sent - mds_recall_state_timeout = int(self.fs.get_config("mds_recall_state_timeout")) - self.wait_for_health("MDS_HEALTH_CLIENT_RECALL", + mds_recall_state_timeout = float(self.fs.get_config("mds_recall_state_timeout")) + self.wait_for_health("MDS_CLIENT_RECALL", mds_recall_state_timeout + 10) # We can also test that the MDS health warning for oversized @@ -122,8 +122,8 @@ class TestClientLimits(CephFSTestCase): # After mds_revoke_cap_timeout, we should see a health warning (extra lag from # MDS beacon period) - mds_revoke_cap_timeout = int(self.fs.get_config("mds_revoke_cap_timeout")) - self.wait_for_health("MDS_CLIENT_RECALL", mds_revoke_cap_timeout + 10) + mds_revoke_cap_timeout = float(self.fs.get_config("mds_revoke_cap_timeout")) + self.wait_for_health("MDS_CLIENT_LATE_RELEASE", mds_revoke_cap_timeout + 10) # Client B should still be stuck self.assertFalse(rproc.finished)