]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa: fix test_nfs_export_with_invalid_path
authorDhairya Parmar <dparmar@redhat.com>
Tue, 11 Apr 2023 12:14:41 +0000 (17:44 +0530)
committerDhairya Parmar <dparmar@redhat.com>
Wed, 26 Apr 2023 10:20:18 +0000 (15:50 +0530)
commit5cc0857f4159e0f4051716d35e960a363cbde139
tree7b3601faac2d1f9faf765e65de493f9129ab9d37
parentd759fe4103174d412cc1ba317390383b299a7d35
qa: fix test_nfs_export_with_invalid_path

It actually didn't test the invalid path but still ended with
ENOENT(which is expected in case path is invalid) as the test
didn't create a fs, and it failed saying "FS nfs-cephfs not found"
which too raises ENOENT and thus it always passed.

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
qa/tasks/cephfs/test_nfs.py