1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 21:48:13 +00:00

tests: tweak wait time for test_busy_expiry

[no changelog]
This commit is contained in:
Martin Milata 2023-09-17 19:07:03 +02:00 committed by matejcik
parent e06335d877
commit ed9fd35018

View File

@ -69,11 +69,11 @@ def test_busy_expiry(client: Client):
_assert_busy(client, True) _assert_busy(client, True)
# Hasn't expired yet. # Hasn't expired yet.
time.sleep(1.4) time.sleep(0.1)
_assert_busy(client, True) _assert_busy(client, True)
# Wait for it to expire. Add 400ms tolerance to account for CI slowness. # Wait for it to expire. Add some tolerance to account for CI/hardware slowness.
time.sleep(0.5) time.sleep(4.0)
# Check that the device is no longer busy. # Check that the device is no longer busy.
# Also needs to come back to Homescreen (for UI tests). # Also needs to come back to Homescreen (for UI tests).