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
Sometimes RCL_RET_NODE_NAME_NON_EXISTENT is returned instead of RCL_RET_OK for some reason.
I thought it would try to get a normal result again up to 20 times, but the test fails without more attempts because of ASSERT.
I wonder if it is the intended test logic to try as many attempts only when RCL_RET_OK is the case.
The correct result can be obtained through multiple attempts, but failing to try and failing the test
seems to fade the meaning of introducing the attempts variable.
Please let me know if I'm misunderstood.
The text was updated successfully, but these errors were encountered:
Bug report
Required Info:
Steps to reproduce issue
Expected behavior
As the test specifies attempts as 20, if the result of the function passed to expect_topics_types is not success, it expects to keep trying.
rcl/rcl/test/rcl/test_graph.cpp
Lines 1025 to 1044 in 191b13b
rcl/rcl/test/rcl/test_graph.cpp
Lines 870 to 884 in 191b13b
Actual behavior
Sometimes RCL_RET_NODE_NAME_NON_EXISTENT is returned instead of RCL_RET_OK for some reason.
I thought it would try to get a normal result again up to 20 times, but the test fails without more attempts because of ASSERT.
rcl/rcl/test/rcl/test_graph.cpp
Lines 880 to 882 in 191b13b
Additional information
I wonder if it is the intended test logic to try as many attempts only when RCL_RET_OK is the case.
The correct result can be obtained through multiple attempts, but failing to try and failing the test
seems to fade the meaning of introducing the attempts variable.
Please let me know if I'm misunderstood.
The text was updated successfully, but these errors were encountered: