Skip to content

Commit

Permalink
ros-simulation#408 If I don't launch gazebo, and have the test return…
Browse files Browse the repository at this point in the history
… success immediately, the test doesn't run out of time. I'm guessing gazebo isn't shutting down properly at the end of the test?
  • Loading branch information
lucasw committed Mar 19, 2016
1 parent e2bfde3 commit 980fd6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gazebo_plugins/test/camera/camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ TEST_F(CameraTest, cameraSubscribeTest)
double time_diff = (ros::Time::now() - image_stamp_).toSec();
ROS_INFO_STREAM(time_diff);
EXPECT_LT(time_diff, 0.5);
cam_sub_.shutdown();
}

int main(int argc, char** argv)
Expand Down

0 comments on commit 980fd6d

Please sign in to comment.