fix loggerd test failure when camerad is slow to start

This commit is contained in:
Adeeb Shihadeh
2021-08-02 09:10:29 -07:00
parent d1fb979962
commit d748b44f48
+3
View File
@@ -116,6 +116,9 @@ class TestLoggerd(unittest.TestCase):
if TICI:
expected_files.add("ecamera.hevc")
# give camerad time to start
time.sleep(5)
for _ in range(5):
num_segs = random.randint(1, 10)
length = random.randint(2, 5)