mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-16 04:29:08 +00:00
device_tests: update test_bip32_speed cache-speed ratio to 1.2x
This commit is contained in:
parent
ee21733f20
commit
2ab4751dcb
@ -50,7 +50,6 @@ class TestBip32Speed(TrezorTest):
|
||||
print("DEPTH", depth, "EXPECTED DELAY", expected, "REAL DELAY", delay)
|
||||
assert delay <= expected
|
||||
|
||||
@pytest.mark.skip_t2
|
||||
def test_cache(self):
|
||||
self.setup_mnemonic_nopin_nopassphrase()
|
||||
|
||||
@ -67,5 +66,5 @@ class TestBip32Speed(TrezorTest):
|
||||
print("NOCACHE TIME", nocache_time)
|
||||
print("CACHED TIME", cache_time)
|
||||
|
||||
# Cached time expected to be at least 2x faster
|
||||
assert cache_time <= nocache_time / 2.
|
||||
# Cached time expected to be at least 1.2x faster
|
||||
assert cache_time <= nocache_time / 1.2
|
||||
|
Loading…
Reference in New Issue
Block a user