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
{{ message }}
Repository navigation
Re-enable rcl unit test "test_events" for macOS #431
The test_events unit test in rcl was flaky when run on the macOS build machine, so it was disabled (intended to be temporarily disabled). This issue to is track re-enabling the test after improving its robustness.
Are there other unit tests that create a context, node, and publisher/subscriber pair, send a Strings message, and lastly tears everything down, and then repeat a couple of times for the remaining test cases?
Is there some way to run this test with --gtest_shuffle? I've noticed that it's always the last two test cases that fail, with the subscriber failing to receive a published message.
I feel like this test failure is exposing a bigger problem (on macOS) than the test itself.
Is there some way to run this test with --gtest_shuffle? I've noticed that it's always the last two test cases that fail, with the subscriber failing to receive a published message
Try setting the env variable GTEST_SHUFFLE=1 (reference).
Activity
dirk-thomas commentedon May 3, 2019
For reference: 209ec28
sloretz commentedon May 3, 2019
Quick check on OSX testing just rcl @mm318 FYI
mm318 commentedon May 17, 2019
The tests passed once (#433 (comment)), got merged, and then failed again (ros2/build_farmer#199).
jacobperron commentedon May 17, 2019
I'm not sure if it's of any consequence, but the reported failure on build cop is part of a release build.
clalancette commentedon May 17, 2019
Yeah, that's almost certainly the case. The release builds (particularly on macOS) expose a lot more bugs than the debug builds.
mm318 commentedon May 17, 2019
Are there other unit tests that create a context, node, and publisher/subscriber pair, send a
Stringsmessage, and lastly tears everything down, and then repeat a couple of times for the remaining test cases?Is there some way to run this test with
--gtest_shuffle? I've noticed that it's always the last two test cases that fail, with the subscriber failing to receive a published message.I feel like this test failure is exposing a bigger problem (on macOS) than the test itself.
jacobperron commentedon May 17, 2019
test_communication/test/test_publisher_subscriber launches pub/sub pairs for
rclcppandrclpywith all test messages. But I'm not aware of analogous communication tests strictly in C.Try setting the env variable GTEST_SHUFFLE=1 (reference).
nburek commentedon May 21, 2019
Are ros2/build_farmer#199 and this tracking the same issue? Should one be closed in preference of the other?
mm318 commentedon May 21, 2019
Yeah, let's close this one, as this test is already enabled, which is why it showed up under
build_cop.