Skip to content

Commit

Permalink
Fix flaky system tests (#4108)
Browse files Browse the repository at this point in the history
* fix flaky tests

* donze
  • Loading branch information
SteveMacenski authored Feb 8, 2024
1 parent a0e742f commit 5ad6ad3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions nav2_system_tests/src/behaviors/spin/test_spin_behavior_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@ INSTANTIATE_TEST_SUITE_P(
SpinRecoveryTests,
SpinBehaviorTestFixture,
::testing::Values(
std::make_tuple(-M_PIf32 / 6.0, 0.1),
std::make_tuple(M_PI_4f32, 0.1),
std::make_tuple(-M_PI_2f32, 0.1),
std::make_tuple(M_PIf32, 0.1),
std::make_tuple(-M_PIf32 / 6.0, 0.15),
std::make_tuple(M_PI_4f32, 0.15),
std::make_tuple(-M_PI_2f32, 0.15),
std::make_tuple(M_PIf32, 0.10),
std::make_tuple(3.0 * M_PIf32 / 2.0, 0.15),
std::make_tuple(-2.0 * M_PIf32, 0.1),
std::make_tuple(-2.0 * M_PIf32, 0.15),
std::make_tuple(4.0 * M_PIf32, 0.15)),
testNameGenerator);

Expand Down
2 changes: 1 addition & 1 deletion nav2_system_tests/src/waypoint_follower/tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def main(argv=sys.argv[1:]):
# wait a few seconds to make sure entire stacks are up
time.sleep(10)

wps = [[-0.52, -0.54], [0.58, -0.55], [0.58, 0.52]]
wps = [[-0.52, -0.54], [0.58, -0.55], [1.78, -0.57]]
starting_pose = [-2.0, -0.5]

test = WaypointFollowerTest()
Expand Down

0 comments on commit 5ad6ad3

Please sign in to comment.