mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-17 21:22:10 +00:00
tests: tweak wait time for test_autolock_ignores_getaddress
[no changelog]
This commit is contained in:
parent
abeb34454c
commit
33e3da8ed3
@ -156,13 +156,13 @@ def test_autolock_ignores_getaddress(client: Client):
|
||||
assert client.features.unlocked is True
|
||||
|
||||
start = time.monotonic()
|
||||
# let's continue for 9 seconds to give a little leeway to the slow CI
|
||||
while time.monotonic() - start < 9:
|
||||
# let's continue for 8 seconds to give a little leeway to the slow CI
|
||||
while time.monotonic() - start < 8:
|
||||
get_test_address(client)
|
||||
time.sleep(0.1)
|
||||
|
||||
# sleep 2 more seconds to wait for autolock
|
||||
time.sleep(2)
|
||||
# sleep 3 more seconds to wait for autolock
|
||||
time.sleep(3)
|
||||
|
||||
# after 11 seconds we are definitely locked
|
||||
client.refresh_features()
|
||||
|
Loading…
Reference in New Issue
Block a user