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
from teuthology.contextutil import safe_while
return counters[0]
# sleep a bit so that we get updated clients...
- time.sleep(10)
+ sleep(10)
# lookout for clients...
dump = self.fs.rank_tell(["counter", "dump"])
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)
# 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']}")