mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-19 20:02:04 +08:00
make loggerd rotation test more reliable
This commit is contained in:
@@ -111,7 +111,7 @@ class TestLoggerd(unittest.TestCase):
|
||||
os.environ["LOGGERD_SEGMENT_LENGTH"] = str(length)
|
||||
|
||||
manager.start_managed_process("loggerd")
|
||||
time.sleep(num_segs * length)
|
||||
time.sleep((num_segs + 1) * length)
|
||||
manager.kill_managed_process("loggerd")
|
||||
|
||||
route_path = str(self._get_latest_log_dir()).rsplit("--", 1)[0]
|
||||
|
||||
Reference in New Issue
Block a user