Skip to content

Conversation

@urfeex
Copy link
Member

@urfeex urfeex commented Jul 7, 2025

We were starting the tests right after we started the driver. However, the test requires that all controllers are actually available. This commit adds a check whether all required controller are actually loaded.

If not all required controllers are found in a specific time, the test will throw an exception and therefore fail.

This should fix failures such as https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/actions/runs/16107576360/job/45452852404

We were starting the tests right after we started the driver. However,
the test requires that all controllers are actually available. This
commit adds a check whether all required controller are actually loaded.

If not all required controllers are found in a specific time, the test
will throw an exception and therefore fail.
@urfeex urfeex requested review from a team and URJala July 7, 2025 08:00
@codecov
Copy link

codecov bot commented Jul 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 5.11%. Comparing base (1b121b7) to head (5ff4b0b).
Report is 470 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##            main   #1447      +/-   ##
========================================
+ Coverage   3.59%   5.11%   +1.52%     
========================================
  Files         13      33      +20     
  Lines        947    3404    +2457     
  Branches     152     427     +275     
========================================
+ Hits          34     174     +140     
- Misses       843    3228    +2385     
+ Partials      70       2      -68     
Flag Coverage Δ
unittests 5.11% <ø> (+1.52%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@urfeex urfeex merged commit d675a36 into UniversalRobots:main Jul 8, 2025
7 of 12 checks passed
@urfeex urfeex deleted the fix_flaky_controller_switch_test branch July 8, 2025 08:19
mergify bot pushed a commit that referenced this pull request Jul 8, 2025
We were starting the tests right after we started the driver. However,
the test requires that all controllers are actually available. This
commit adds a check whether all required controllers are actually loaded.

If not all required controllers are found in a specific time, the test
will throw an exception and therefore fail.

(cherry picked from commit d675a36)
mergify bot pushed a commit that referenced this pull request Jul 8, 2025
We were starting the tests right after we started the driver. However,
the test requires that all controllers are actually available. This
commit adds a check whether all required controllers are actually loaded.

If not all required controllers are found in a specific time, the test
will throw an exception and therefore fail.

(cherry picked from commit d675a36)
urfeex pushed a commit that referenced this pull request Jul 8, 2025
We were starting the tests right after we started the driver. However,
the test requires that all controllers are actually available. This
commit adds a check whether all required controllers are actually loaded.

If not all required controllers are found in a specific time, the test
will throw an exception and therefore fail.
urfeex pushed a commit that referenced this pull request Jul 8, 2025
We were starting the tests right after we started the driver. However,
the test requires that all controllers are actually available. This
commit adds a check whether all required controllers are actually loaded.

If not all required controllers are found in a specific time, the test
will throw an exception and therefore fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants