]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa: Fix test_subvolume_snapshot_info_if_orphan_clone 48642/head
authorKotresh HR <khiremat@redhat.com>
Thu, 27 Oct 2022 12:49:49 +0000 (18:19 +0530)
committerKotresh HR <khiremat@redhat.com>
Fri, 2 Dec 2022 10:18:02 +0000 (15:48 +0530)
commit87b50f3ff16bd8f7c0e0344f4656bf38e617b279
tree1ed0155579663a78e49fb515e05828fa58ace654
parent67503786069caa4d40367c9e36a2e5d6e0815b19
qa: Fix test_subvolume_snapshot_info_if_orphan_clone

Fixes the usage of the grep command. It was failing as below.

smithi008:> (cd /home/ubuntu/cephtest/mnt.0 && exec sudo grep '"clone' 'snaps"' \
-A3 ./volumes/_nogroup/subvolume_0000000000856603/.meta)
INFO:teuthology.orchestra.run.smithi008.stderr:grep: snaps": No such file or directory

Fixes: https://tracker.ceph.com/issues/57446
Signed-off-by: Kotresh HR <khiremat@redhat.com>
qa/tasks/cephfs/test_volumes.py