diff --git a/features/steps/invariant_service_thread_safety_mixed_steps.py b/features/steps/invariant_service_thread_safety_mixed_steps.py index a5aef5b51..1a7896d97 100644 --- a/features/steps/invariant_service_thread_safety_mixed_steps.py +++ b/features/steps/invariant_service_thread_safety_mixed_steps.py @@ -219,12 +219,3 @@ def step_assert_results_consistent(context: Any) -> None: assert len(context.errors) == 0, ( f"Expected no errors, got {len(context.errors)}: {context.errors}" ) - - -@then("no deadlocks should occur") -def step_assert_no_deadlocks(context: Any) -> None: - """Assert that no deadlocks occurred by verifying the test completed in time.""" - assert context.elapsed_time < 30, ( - f"Test took {context.elapsed_time:.2f}s — possible deadlock or starvation" - ) -