mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 22:38:08 +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
|
assert client.features.unlocked is True
|
||||||
|
|
||||||
start = time.monotonic()
|
start = time.monotonic()
|
||||||
# let's continue for 9 seconds to give a little leeway to the slow CI
|
# let's continue for 8 seconds to give a little leeway to the slow CI
|
||||||
while time.monotonic() - start < 9:
|
while time.monotonic() - start < 8:
|
||||||
get_test_address(client)
|
get_test_address(client)
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
|
|
||||||
# sleep 2 more seconds to wait for autolock
|
# sleep 3 more seconds to wait for autolock
|
||||||
time.sleep(2)
|
time.sleep(3)
|
||||||
|
|
||||||
# after 11 seconds we are definitely locked
|
# after 11 seconds we are definitely locked
|
||||||
client.refresh_features()
|
client.refresh_features()
|
||||||
|
Loading…
Reference in New Issue
Block a user