]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/cephfs: fix test_single_path_authorize_on_nonalphanumeric_fsname 58560/head
authorRishabh Dave <ridave@redhat.com>
Wed, 26 Jun 2024 13:35:35 +0000 (19:05 +0530)
committerRishabh Dave <ridave@redhat.com>
Fri, 12 Jul 2024 14:48:31 +0000 (20:18 +0530)
commitecb5c5f5006e047c75af8902b93ceb977bb57685
treee0aca5257aee3b1f2e95daa7439b99036f8d7fed
parent5a72f2d50b8feea5e5709f463a79899bb53fcc61
qa/cephfs: fix test_single_path_authorize_on_nonalphanumeric_fsname

This test deletes the CephFS already present on the cluster at the very
beginning and unmounts the first client beforehand. But it leaves the
second client mounted on this deleted CephFS that doesn't exist for the
rest of the test. And then at the very end of this test it attempts to
remount the second client (during tearDown()) which hangs and causes
test runner to crash.

Unmount the second client beforehand to prevent the bug and delete
mount_b object to avoid confusion for the readers in future about
whether or not 2nd mountpoint exists.

Fixes: https://tracker.ceph.com/issues/66077
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 2130ec8ebc377364a11be7448ed2773b46b464c0)
qa/tasks/cephfs/test_admin.py