Skip to content

Commit

Permalink
mock time elapsed in flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
dperl-dls committed May 17, 2024
1 parent 16f77b0 commit f373fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/epics/demo/test_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ async def test_mover_moving_well(mock_mover: demo.Mover) -> None:
target=0.55,
unit="mm",
precision=3,
time_elapsed=pytest.approx(0.0, abs=0.05),
time_elapsed=ANY, # Test is flaky in slow CI
)

await assert_value(mock_mover.setpoint, 0.55)
Expand Down

0 comments on commit f373fd8

Please sign in to comment.