Skip to content

Commit 28b0e56

Browse files
authored
Merge pull request #444 from thedropbears/davo/fuzz-test-flakiness
Try to make test_fuzz_test hang less
2 parents a0ed26a + b90db33 commit 28b0e56

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/fuzz_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,10 @@ def test_fuzz_test(control: TestController) -> None:
142142
# Start the robot in disabled mode for a short period
143143
control.step_timing(seconds=0.5, autonomous=False, enabled=False)
144144

145+
# ... in disabled test mode too
145146
DriverStationSim.setTest(True)
147+
control.step_timing(seconds=0.5, autonomous=False, enabled=False)
148+
146149
DriverStationSim.setEnabled(True)
147150

148151
assert control.robot_is_alive

0 commit comments

Comments
 (0)