]> 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>
Tue, 2 May 2023 09:50:12 +0000 (15:20 +0530)
commitc13dfa674a07034cb68ebf645b40e3bac70193ec
tree6a5336790320fc33514038fe1215ce703f4a2867
parent9556a48f5d4eed8770abe009439a2c74656a712b
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>
(cherry picked from commit 5cc0857)
qa/tasks/cephfs/test_nfs.py