]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/cephfs: set omit_sudo to False in test_acls.py
authorRishabh Dave <ridave@redhat.com>
Mon, 18 Apr 2022 16:22:18 +0000 (21:52 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 27 Apr 2022 09:13:41 +0000 (14:43 +0530)
When running "sudo ./check generic/099" in test_acls.py's test method
named test_acls(), set omit_sudo to False because without it
vstart_runner.py will remove "sudo" from command arguments and so the
command will fail unnecessarily.

Fixes: https://tracker.ceph.com/issues/55374
Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/test_acls.py

index 9b618f91112d5329eff78364ebf8a25e012f4da5..d042c5b16607bf6d2068816a03dd629aaedb04dc 100644 (file)
@@ -23,5 +23,5 @@ class TestACLs(XFSTestsDev):
 
         self.mount_a.client_remote.run(args=['sudo', './check',
             'generic/099'], cwd=self.repo_path, stdout=BytesIO(),
-            stderr=BytesIO(), timeout=30, check_status=True,
+            stderr=BytesIO(), timeout=30, check_status=True, omit_sudo=False,
             label='running tests for ACLs from xfstests-dev')