]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: use correct variable for exception debug
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 15 Jan 2020 23:56:24 +0000 (15:56 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 6 Feb 2020 22:01:26 +0000 (14:01 -0800)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 096a5cad38d073ece58f1be5efbc58e01351b3ae)

qa/tasks/cephfs/test_strays.py

index 1393dc2e74063c3fc685bcb2f413f9012478cda1..fd0b887927bbb82e355ed524d5410d656561ba8d 100644 (file)
@@ -248,7 +248,7 @@ class TestStrays(CephFSTestCase):
         elif throttle_type == self.FILES_THROTTLE:
             if files_high_water < mds_max_purge_files / 2:
                 raise RuntimeError("Files in flight high water is unexpectedly low ({0} / {1})".format(
-                    ops_high_water, mds_max_purge_files
+                    files_high_water, mds_max_purge_files
                 ))
 
         # Sanity check all MDC stray stats