diff --git a/tests/test_store/test_stateful.py b/tests/test_store/test_stateful.py index ae10ca8d79..637eea882d 100644 --- a/tests/test_store/test_stateful.py +++ b/tests/test_store/test_stateful.py @@ -18,7 +18,7 @@ def mk_test_instance_sync() -> ZarrHierarchyStateMachine: pytest.skip(reason="ZipStore does not support delete") if isinstance(sync_store, MemoryStore): run_state_machine_as_test( - mk_test_instance_sync, settings=Settings(report_multiple_bugs=False) + mk_test_instance_sync, settings=Settings(report_multiple_bugs=False, max_examples=50) ) @@ -28,6 +28,11 @@ def mk_test_instance_sync() -> None: if isinstance(sync_store, ZipStore): pytest.skip(reason="ZipStore does not support delete") - if isinstance(sync_store, LocalStore): + elif isinstance(sync_store, LocalStore): pytest.skip(reason="This test has errors") - run_state_machine_as_test(mk_test_instance_sync, settings=Settings(report_multiple_bugs=True)) + elif isinstance(sync_store, MemoryStore): + run_state_machine_as_test(mk_test_instance_sync, settings=Settings(max_examples=50)) + else: + run_state_machine_as_test( + mk_test_instance_sync, settings=Settings(report_multiple_bugs=True) + )