mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
increase cloudlog size for uploader errors
old-commit-hash: 2a05701f47a89b2d92d3c5481ff5263f6aac678c
This commit is contained in:
@@ -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.]
|
||||
|
||||
Reference in New Issue
Block a user