mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 12:28:09 +00:00
test(storage): remove timeouts for test_random and test_random_upgrade
This commit is contained in:
parent
31f4e4f3db
commit
d1978c062d
@ -596,6 +596,7 @@ storage test:
|
|||||||
<<: *gitlab_caching
|
<<: *gitlab_caching
|
||||||
needs: []
|
needs: []
|
||||||
script:
|
script:
|
||||||
|
- unset PYTEST_TIMEOUT
|
||||||
- nix-shell --run "poetry run make -C storage/tests build | ts -s"
|
- nix-shell --run "poetry run make -C storage/tests build | ts -s"
|
||||||
- nix-shell --run "poetry run make -C storage/tests tests_all | ts -s"
|
- nix-shell --run "poetry run make -C storage/tests tests_all | ts -s"
|
||||||
artifacts:
|
artifacts:
|
||||||
|
@ -215,9 +215,9 @@ Persistence tests.
|
|||||||
|
|
||||||
### [storage test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L589)
|
### [storage test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L589)
|
||||||
|
|
||||||
### [core unix memory profiler](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L612)
|
### [core unix memory profiler](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L613)
|
||||||
|
|
||||||
### [connect test core](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L636)
|
### [connect test core](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L637)
|
||||||
|
|
||||||
---
|
---
|
||||||
## TEST-HW stage - [test-hw.yml](../../ci/test-hw.yml)
|
## TEST-HW stage - [test-hw.yml](../../ci/test-hw.yml)
|
||||||
|
@ -1,13 +1,10 @@
|
|||||||
import hypothesis.strategies as st
|
import hypothesis.strategies as st
|
||||||
import pytest
|
|
||||||
from hypothesis import assume, settings
|
from hypothesis import assume, settings
|
||||||
from hypothesis.stateful import Bundle, RuleBasedStateMachine, invariant, rule
|
from hypothesis.stateful import Bundle, RuleBasedStateMachine, invariant, rule
|
||||||
|
|
||||||
from . import common
|
from . import common
|
||||||
from .storage_model import StorageModel
|
from .storage_model import StorageModel
|
||||||
|
|
||||||
pytestmark = pytest.mark.timeout(timeout=1500)
|
|
||||||
|
|
||||||
|
|
||||||
class StorageComparison(RuleBasedStateMachine):
|
class StorageComparison(RuleBasedStateMachine):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@ -85,5 +82,5 @@ class StorageComparison(RuleBasedStateMachine):
|
|||||||
|
|
||||||
TestStorageComparison = StorageComparison.TestCase
|
TestStorageComparison = StorageComparison.TestCase
|
||||||
TestStorageComparison.settings = settings(
|
TestStorageComparison.settings = settings(
|
||||||
deadline=2000, max_examples=30, stateful_step_count=50
|
deadline=None, max_examples=30, stateful_step_count=50
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user