]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa: update test cases to check for ENOTDIR instead of EINVAL
authorDhairya Parmar <dparmar@redhat.com>
Wed, 12 Apr 2023 07:57:53 +0000 (13:27 +0530)
committerDhairya Parmar <dparmar@redhat.com>
Tue, 2 May 2023 09:50:12 +0000 (15:20 +0530)
commitfbe107904dbf51abc12a17e21684b8d479f21941
tree7eb6ed46855bc3c1b73cbbd843a61646f47dda34
parentc13dfa674a07034cb68ebf645b40e3bac70193ec
qa: update test cases to check for ENOTDIR instead of EINVAL

- test_nfs_export_creation_at_filepath:
ENOTDIR is raised instead of EINVAL which is better
aligned with the nature of the failure

- test_nfs_export_creation_at_symlink:
ENOTDIR is raised instead of ENOENT since the code
can now check if the path is symlink but won't follow
it.

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
(cherry picked from commit 0c89625)
qa/tasks/cephfs/test_nfs.py