Issue #551 resolved

SensorManager assert during jenkins test failure

Steven Peters
created an issue

The Sensor_TEST unit test failed on a recent jenkins build. The failure was caused by a GZ_ASSERT failure in

61: Dbg sent reset world message
61: ***** Internal Program Error - assertion (diffTime >= common::Time::Zero) failed in void gazebo::sensors::SensorManager::SensorContainer::RunLoop():
61: /var/lib/jenkins/workspace/gazebo-gazebo_1.5-devel-precise-amd64/gazebo/gazebo/sensors/ Took negative time to update a sensor.

This is a race condition, but I've been able to make it more prevalent by stress testing Reset World with an unthrottled ray sensor. The was added in changeset c3ebcf3 to branch sensor_reset_stress.