fix loggerd test failure when camerad is slow to start

old-commit-hash: d748b44f48f6d8d4e2b1ce6195363bded06ba377
This commit is contained in:
Adeeb Shihadeh
2021-08-02 09:10:29 -07:00
parent a2749618ec
commit db62739c00
+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)