You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are there any available workarounds for writing tests on Windows?
Which component fails to handle SIGINT on Windows: the launch service or ROS2 executors?
@hidmic Do you have some information? (I notice the TODO are assigned to you.)
The text was updated successfully, but these errors were encountered:
huweiATgithub
changed the title
Tests on Windows falsely positive reporting passed
Tests on Windows falsely positive reporting passed due to SIGINT handling
Mar 13, 2024
Bug report
Required Info:
Steps to reproduce issue
1
.rostest
andlaunch_testing.asserts.assertExitCodes
:Expected behavior
Failures are reported through
assertExitCodes
with a non-zero exit code.Actual behavior
The test passes.
Additional information
This is related to #94 which sends SIGTERM (it is stated that SIGINT is not supported in Windows).
Besides,
exit_code=1
is allowed inlaunch/launch_testing/launch_testing/asserts/assert_exit_codes.py
Lines 34 to 39 in d9ffd80
Ask for help
@hidmic Do you have some information? (I notice the
TODO
are assigned to you.)The text was updated successfully, but these errors were encountered: