]> 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 10:20:38 +0000 (15:50 +0530)
commit4976c4149432f88a5cc149e3e9c9dbfe7730e457
tree4879d766ed9e0acbdffb03c290b295ebc2c053a8
parent7fd370881287852788ec8e2177902d0456050a52
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 5cc0857f4159e0f4051716d35e960a363cbde139)
qa/tasks/cephfs/test_nfs.py