]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa: Fix test_subvolume_snapshot_info_if_orphan_clone 48325/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:11:14 +0000 (15:41 +0530)
commitfa25d4ca37632f39417653be7c8f42074fe69c1e
tree9a432b266b6b3e665508bbe59669f638e82b6ee4
parente15b3f28681a1b727b8944e24e427dca26a46618
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>
(cherry picked from commit b6291096d1205456a8320063d4d629ca093bd041)
qa/tasks/cephfs/test_volumes.py