From fdfdb77da896f3893c6eba49e0d540225d9b992f Mon Sep 17 00:00:00 2001 From: hedger Date: Thu, 26 Oct 2023 01:23:42 +0400 Subject: [PATCH] unit_tests: restored timeout; scripts: assets: logging changes --- scripts/assets.py | 4 ++-- scripts/testing/units.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/assets.py b/scripts/assets.py index 48674dcc11d..1099f0c330d 100755 --- a/scripts/assets.py +++ b/scripts/assets.py @@ -242,8 +242,8 @@ def manifest(self): for record in only_in_new: self.logger.debug(f"Only in new: {record}") if any((only_in_old, changed, only_in_new)): - self.logger.warning( - f"Manifest is updated ({len(only_in_new)} new, {len(only_in_old)} removed, {len(changed)} changed). Updating" + self.logger.info( + f"Manifest updated ({len(only_in_new)} new, {len(only_in_old)} removed, {len(changed)} changed)" ) new_manifest.save(manifest_file) else: diff --git a/scripts/testing/units.py b/scripts/testing/units.py index fff40f5ac49..db302e9daeb 100755 --- a/scripts/testing/units.py +++ b/scripts/testing/units.py @@ -20,7 +20,7 @@ def main(): logging.error("Flipper not found!") sys.exit(1) - with serial.Serial(flp_serial, timeout=300) as flipper: + with serial.Serial(flp_serial, timeout=150) as flipper: logging.info(f"Found Flipper at {flp_serial}") flipper.baudrate = 230400 flipper.flushOutput()