Skip to content

Commit

Permalink
qa/cephfs: import only sleep() from time
Browse files Browse the repository at this point in the history
Signed-off-by: Rishabh Dave <[email protected]>
  • Loading branch information
rishabh-d-dave committed Oct 10, 2023
1 parent be78b3e commit 69e4c9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qa/tasks/cephfs/test_admin.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import errno
import json
import logging
import time
import uuid
from io import StringIO
from os.path import join as os_path_join
from time import sleep

from teuthology.exceptions import CommandFailedError

Expand Down Expand Up @@ -802,7 +802,7 @@ def test_fsmap_trim(self):
self.fs.set_joinable(b)
b = not b

time.sleep(10) # for tick/compaction
sleep(10) # for tick/compaction

try:
self.fs.status(epoch=epoch)
Expand All @@ -826,7 +826,7 @@ def test_fsmap_force_trim(self):

# force a new fsmap
self.fs.set_joinable(False)
time.sleep(10) # for tick/compaction
sleep(10) # for tick/compaction

status = self.fs.status()
log.debug(f"new epoch is {status['epoch']}")
Expand Down

0 comments on commit 69e4c9e

Please sign in to comment.