From a33976907711b6270aa6512a09f3c927ea355ad9 Mon Sep 17 00:00:00 2001 From: Jakub Delicat Date: Tue, 31 Oct 2023 09:29:32 +0100 Subject: [PATCH] added timeout and removed odom test in scan test Signed-off-by: Jakub Delicat --- .github/workflows/industrial_ci.yaml | 1 + rosbot_xl_bringup/test/test_mecanum_ekf.py | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/industrial_ci.yaml b/.github/workflows/industrial_ci.yaml index f4a98deb..1354239e 100644 --- a/.github/workflows/industrial_ci.yaml +++ b/.github/workflows/industrial_ci.yaml @@ -22,6 +22,7 @@ jobs: matrix: ROS_DISTRO: [humble] runs-on: ubuntu-latest + timeout-minutes: 12 steps: - uses: actions/checkout@v3 - name: Clone installation requirements diff --git a/rosbot_xl_bringup/test/test_mecanum_ekf.py b/rosbot_xl_bringup/test/test_mecanum_ekf.py index f63e56da..e6e60f12 100644 --- a/rosbot_xl_bringup/test/test_mecanum_ekf.py +++ b/rosbot_xl_bringup/test/test_mecanum_ekf.py @@ -81,10 +81,5 @@ def test_bringup_scan_filter(): msgs_received_flag ), "Expected filtered scan but it is not filtered properly. Check laser_filter!" - msgs_received_flag = node.odom_tf_event.wait(timeout=10.0) - assert ( - msgs_received_flag - ), "Expected odom to base_link tf but it was not received. Check robot_localization!" - finally: rclpy.shutdown()