RobotWebTools / rclnodejs

Node.js version of ROS 2.0 client
https://docs.ros.org/en/humble/Concepts/Basic/About-Client-Libraries.html?highlight=rclnodejs#community-maintained
Apache License 2.0
311 stars 70 forks source link

refactored ctf test-subscription-content-filter to improve reliability #915

Closed wayneparrott closed 1 year ago

wayneparrott commented 1 year ago

The test-subscription-content-filter.js test-suite has proven to be unstable when running in CI, e.g., frequent timeout waiting for msgs published by external publisher processes. My initial response (hack) was to increase wait times. This improved reliability some but still there are frequent failures due to timeout. To improve the reliability of this test-suite I've rewritten it to run test msg publishers in a single process along with the CTF subscriptions. Publishers and subscriptions run on different nodes. This seems to be much better reliability in my CI test environment.