From 659f08aadda771823841f2360abda2779cf137e9 Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Wed, 4 Sep 2024 13:08:45 +0000 Subject: [PATCH] ts_autosign:_wait_signed(): reduce sleep time --- mmgen/autosign.py | 2 +- test/cmdtest_py_d/ct_autosign.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mmgen/autosign.py b/mmgen/autosign.py index 9c501934..7e0107a1 100755 --- a/mmgen/autosign.py +++ b/mmgen/autosign.py @@ -569,7 +569,7 @@ class Autosign: if isinstance(val,str): msg(val) if self.cfg.test_suite_autosign_threaded: - await asyncio.sleep(1) + await asyncio.sleep(0.3) self.do_umount() self.led.set('error' if not all(ret) else 'off' if self.cfg.stealth_led else 'standby') return all(ret) diff --git a/test/cmdtest_py_d/ct_autosign.py b/test/cmdtest_py_d/ct_autosign.py index c60daf57..10e9bf45 100755 --- a/test/cmdtest_py_d/ct_autosign.py +++ b/test/cmdtest_py_d/ct_autosign.py @@ -464,13 +464,13 @@ class CmdTestAutosignThreaded(CmdTestAutosignBase): if self.asi.mountpoint.is_mount(): oqmsg_r(gray(' signing ')) break - time.sleep(0.2) + time.sleep(0.1) while True: oqmsg_r(gray('>')) if not self.asi.mountpoint.is_mount(): oqmsg(gray(' done')) break - time.sleep(0.2) + time.sleep(0.1) imsg('') self.remove_device() return 'ok'