]> git.apps.os.sepia.ceph.com Git - ceph.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>
Wed, 26 Apr 2023 10:20:18 +0000 (15:50 +0530)
commit0c8962587f4a5b8e0731f32dd753efea977b00e6
treef8c45fc7b5b995a8fdc7e0d4c7bf64a1b43edafd
parent5cc0857f4159e0f4051716d35e960a363cbde139
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>
qa/tasks/cephfs/test_nfs.py