]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/cephfs: fix syntax error
authorKefu Chai <kchai@redhat.com>
Tue, 24 Mar 2020 10:15:58 +0000 (18:15 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 2 Jun 2020 02:32:23 +0000 (10:32 +0800)
it's a regression introduced by 9f6c764f10

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 496d7e21325e8efa6bbac57a519db2f07d8d7ee5)

qa/tasks/cephfs/test_exports.py

index bd895e381b5b545786da71d04aee0d85fe6b8f82..c58ee7a1c90a16d3d1437f4c0676210409f55546 100644 (file)
@@ -128,7 +128,7 @@ class TestExports(CephFSTestCase):
             self._wait_subtrees(status, 0, [('/1', 1), ('/1/2', 0), ('/1/2/3', 2)])
 
         if not isinstance(self.mount_a, FuseMount):
-            p = self.mount_a.client_remote.sh('uname -r'), wait=True)
+            p = self.mount_a.client_remote.sh('uname -r', wait=True)
             dir_pin = self.mount_a.getfattr("1", "ceph.dir.pin")
             log.debug("mount.getfattr('1','ceph.dir.pin'): %s " % dir_pin)
             if str(p.stdout.getvalue()) < "5" and not(dir_pin):