increase cloudlog size for uploader errors

old-commit-hash: 2a05701f47
This commit is contained in:
Willem Melching
2021-05-17 13:51:07 +02:00
parent 904a643f91
commit 6e4bb728da
+1 -1
View File
@@ -134,7 +134,7 @@ class TestOnroad(unittest.TestCase):
msgs = [m for m in self.lr if m.which() == 'logMessage']
total_size = sum(len(m.as_builder().to_bytes()) for m in msgs)
self.assertLess(total_size, 2.5e5)
self.assertLess(total_size, 3.5e5)
cnt = Counter([json.loads(m.logMessage)['filename'] for m in msgs])
big_logs = [f for f, n in cnt.most_common(3) if n / sum(cnt.values()) > 30.]