seed-solutions / aero-ros-pkg

AERO (SEEDNOID) ROS Package
15 stars 18 forks source link

[ROSTEST] aero_ros_controller.rosunit-test_robot_interface sometimes failed #381

Open hi-kondo opened 6 years ago

hi-kondo commented 6 years ago

After I merged PR #377, travis failed as travis result .

[ROSTEST]-----------------------------------------------------------------------

[aero_ros_controller.rosunit-test_robot_interface/testAngleConvert][passed]

[aero_ros_controller.rosunit-test_robot_interface/testWait][passed]

[aero_ros_controller.rosunit-test_robot_interface/testStopMotion][FAILURE]------

/catkin_ws/src/aero-ros-pkg/aero_ros_controller/test/test_robot_interface.cpp:301

The difference between 0 and diff is 0.0187523411520405, which exceeds 0.01, where

0 evaluates to 0,

diff evaluates to 0.0187523411520405, and

0.01 evaluates to 0.01.

--------------------------------------------------------------------------------

[aero_ros_controller.rosunit-test_robot_interface/testReferenceActual][passed]

SUMMARY

 * RESULT: FAIL

 * TESTS: 4

 * ERRORS: 0

 * FAILURES: 1

As a result, travis test failed at catkin run_tests test_robot_interface.test

But this PR is changed about only README.md.

To confirm travis-test process, git clone master branch of aero-ros-pkg and docker build -f Dockerfile.kinetic --tag ros:aero_kinetic --build-arg RUN_TESTS=true .

[ROSTEST]-----------------------------------------------------------------------

[aero_ros_controller.rosunit-test_robot_interface/testAngleConvert][passed]
[aero_ros_controller.rosunit-test_robot_interface/testWait][passed]
[aero_ros_controller.rosunit-test_robot_interface/testStopMotion][passed]
[aero_ros_controller.rosunit-test_robot_interface/testReferenceActual][passed]

SUMMARY
 * RESULT: SUCCESS
 * TESTS: 4
 * ERRORS: 0
 * FAILURES: 0

As a result, ROSTEST is all succeeded.

Why is this different results, in spite of test in the same process?

hi-kondo commented 6 years ago

I tested master-branch again, the result is suceeded travis_result