Skip to content

Commit b7d47bc

Browse files
qa/cephfs: avoid unnecessary importing in test_volumes.py
Signed-off-by: Rishabh Dave <[email protected]>
1 parent 7307a3d commit b7d47bc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

qa/tasks/cephfs/test_volumes.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from tasks.cephfs.fuse_mount import FuseMount
1616
from teuthology.contextutil import safe_while
1717
from teuthology.exceptions import CommandFailedError
18-
from teuthology import contextutil
1918

2019
log = logging.getLogger(__name__)
2120

@@ -9156,7 +9155,7 @@ def test_dangling_symlink(self):
91569155
clone_path = f'./volumes/_nogroup/{clone}'
91579156
self.mount_a.run_shell(['sudo', 'rm', '-rf', clone_path], omit_sudo=False)
91589157

9159-
with contextutil.safe_while(sleep=5, tries=6) as proceed:
9158+
with safe_while(sleep=5, tries=6) as proceed:
91609159
while proceed():
91619160
try:
91629161
result = json.loads(self._fs_cmd("subvolume", "snapshot", "info", self.volname, subvolume, snapshot))

0 commit comments

Comments
 (0)