From 4c999b323ba4cadbd14e4365f3088452486d5d62 Mon Sep 17 00:00:00 2001 From: Carl Delsey Date: Thu, 7 Mar 2019 09:52:03 -0800 Subject: [PATCH] Fix tests timing out when they should pass. --- nav2_costmap_2d/test/integration/costmap_tests_launch.py | 1 - nav2_dynamic_params/test/dynamic_params_test.launch.py | 1 - nav2_map_server/test/component/test_occ_grid_launch.py | 1 - nav2_system_tests/src/localization/test_localization_launch.py | 2 +- nav2_system_tests/src/planning/test_planner_launch.py | 1 - nav2_system_tests/src/system/test_system_launch.py | 1 - 6 files changed, 1 insertion(+), 6 deletions(-) diff --git a/nav2_costmap_2d/test/integration/costmap_tests_launch.py b/nav2_costmap_2d/test/integration/costmap_tests_launch.py index e479db0030..2f18f8e26e 100755 --- a/nav2_costmap_2d/test/integration/costmap_tests_launch.py +++ b/nav2_costmap_2d/test/integration/costmap_tests_launch.py @@ -39,7 +39,6 @@ def main(argv=sys.argv[1:]): output='screen' ) - ld.add_action(test1_action) lts = LaunchTestService() lts.add_test_action(ld, test1_action) ls = LaunchService(argv=argv) diff --git a/nav2_dynamic_params/test/dynamic_params_test.launch.py b/nav2_dynamic_params/test/dynamic_params_test.launch.py index ddba3cea2a..af1de2be39 100755 --- a/nav2_dynamic_params/test/dynamic_params_test.launch.py +++ b/nav2_dynamic_params/test/dynamic_params_test.launch.py @@ -42,7 +42,6 @@ def main(argv=sys.argv[1:]): name='test_dynamic_params_client', ) - ld.add_action(test1_action) lts = LaunchTestService() lts.add_test_action(ld, test1_action) ls = LaunchService(argv=argv) diff --git a/nav2_map_server/test/component/test_occ_grid_launch.py b/nav2_map_server/test/component/test_occ_grid_launch.py index e9f9295a61..82dc8d5c5e 100755 --- a/nav2_map_server/test/component/test_occ_grid_launch.py +++ b/nav2_map_server/test/component/test_occ_grid_launch.py @@ -35,7 +35,6 @@ def main(argv=sys.argv[1:]): cmd=[testExecutable], name='test_occ_grid_node', ) - ld.add_action(test1_action) lts = LaunchTestService() lts.add_test_action(ld, test1_action) ls = LaunchService(argv=argv) diff --git a/nav2_system_tests/src/localization/test_localization_launch.py b/nav2_system_tests/src/localization/test_localization_launch.py index 03f76c910c..77e14490ba 100755 --- a/nav2_system_tests/src/localization/test_localization_launch.py +++ b/nav2_system_tests/src/localization/test_localization_launch.py @@ -61,7 +61,7 @@ def main(argv=sys.argv[1:]): name='test_localization_node', output='screen' ) - ld.add_action(test1_action) + lts = LaunchTestService() lts.add_test_action(ld, test1_action) ls = LaunchService(argv=argv) diff --git a/nav2_system_tests/src/planning/test_planner_launch.py b/nav2_system_tests/src/planning/test_planner_launch.py index 89389075b4..e77c259db1 100755 --- a/nav2_system_tests/src/planning/test_planner_launch.py +++ b/nav2_system_tests/src/planning/test_planner_launch.py @@ -41,7 +41,6 @@ def main(argv=sys.argv[1:]): output='screen' ) - ld.add_action(test1_action) lts = LaunchTestService() lts.add_test_action(ld, test1_action) ls = LaunchService(argv=argv) diff --git a/nav2_system_tests/src/system/test_system_launch.py b/nav2_system_tests/src/system/test_system_launch.py index 7c7dd5dc51..d8f6ab4a91 100755 --- a/nav2_system_tests/src/system/test_system_launch.py +++ b/nav2_system_tests/src/system/test_system_launch.py @@ -118,7 +118,6 @@ def main(argv=sys.argv[1:]): name='test_system_node', output='screen') - ld.add_action(test1_action) lts = LaunchTestService() lts.add_test_action(ld, test1_action) ls = LaunchService(argv=argv)