mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 23:48:12 +00:00
Revert "device_tests: update test_bip32_speed cache-speed ratio to 1.2x"
This reverts commit 2ab4751dcb
.
This commit is contained in:
parent
6c882a95da
commit
1a642713a5
@ -49,6 +49,7 @@ 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()
|
||||
|
||||
@ -65,5 +66,5 @@ class TestBip32Speed(TrezorTest):
|
||||
print("NOCACHE TIME", nocache_time)
|
||||
print("CACHED TIME", cache_time)
|
||||
|
||||
# Cached time expected to be at least 1.2x faster
|
||||
assert cache_time <= nocache_time / 1.2
|
||||
# Cached time expected to be at least 2x faster
|
||||
assert cache_time <= nocache_time / 2.
|
||||
|
Loading…
Reference in New Issue
Block a user