Repository navigation
Conversation
This should reduce flakiness of tests. AFAIK that behavior has been fixed on newer PolyScope versions, such that setting a robot mode blocks until the robot mode is actually reached. In that case, checking should not harm.
PR SummaryLow Risk Overview After Reviewed by Cursor Bugbot for commit 7d6e87a. Bugbot is set up for automated code reviews on this repo. Configure here. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #611 +/- ##
==========================================
+ Coverage 83.77% 83.80% +0.03%
==========================================
Files 127 127
Lines 8388 8386 -2
Branches 3829 3829
==========================================
+ Hits 7027 7028 +1
+ Misses 954 952 -2
+ Partials 407 406 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the robot-mode synchronization changes.
No open issues 🎉
What changed in this PR
This PR aims to reduce flakiness in the dashboard client’s program-interaction test by waiting for robot mode transitions to complete before proceeding.
Changes:
- Wait for
POWER_OFFandIDLEafter the corresponding power commands. - Replace the fixed 800 ms delay after brake release with a wait for
RUNNING.
| File | Description |
|---|---|
tests/test_dashboard_client_x.cpp |
Add explicit robot-mode waits to synchronize the program-interaction test. |
Review effort: Balanced
|
Tick the box to add this pull request to the merge queue (same as
|
This should reduce flakiness of tests. AFAIK that behavior has been fixed on newer PolyScope versions, such that setting a robot mode blocks until the robot mode is actually reached. In that case, checking should not harm.
This is an attempt to fix the flaky test in https://github.com/UniversalRobots/Universal_Robots_Client_Library/actions/runs/41455435440/job/125316669824