1
0
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:
Pavol Rusnak 2018-05-30 12:44:39 +02:00
parent 6c882a95da
commit 1a642713a5
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -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.