Tests for planning_common_nodes Intermittently Fail
Description
The tests for the planning_common_nodes
package fail about 50% of the time when testing locally in ADE with the following error:
build/planning_common_nodes/Testing/20200301-1956/Test.xml: 7 tests, 0 errors, 1 failure, 0 skipped
build/planning_common_nodes/test_results/planning_common_nodes/planning_common_nodes_unit_tests.gtest.xml: 3 tests, 0 errors, 1 failure, 0 skipped
- planning_common_nodes.foo/source basic/0
<<< failure message
/home/whitleysoftwareservices/autoware.auto/src/external/mpc/planning/planning_common_nodes/test/source.cpp:131
Expected: (trajectories.size() + 1U) >= (count), actual: 11 vs 13
>>>
How to Reproduce
In ADE:
cd AutowareAuto/
colcon build --packages-up-to planning_common_nodes
colcon test --packages-select planning_common_nodes (run this several times)
Current Behavior
In my testing, tests fail about 50% of the time.
Expected behavior
Tests always pass.