Skip to content

Commit f3f340b

Browse files
authored
Merge branch 'ign-gazebo6' into entity_system_add
2 parents af78ac7 + b8c09b6 commit f3f340b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/sensors_system_battery.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ TEST_F(SensorsFixture, IGN_UTILS_TEST_DISABLED_ON_MAC(SensorsBatteryState))
192192
// verify image count
193193
{
194194
std::lock_guard<std::mutex> lock(mutex);
195-
EXPECT_EQ(expectedImgCount, imgCount);
196-
EXPECT_EQ(expectedImgCount, depthImgCount);
195+
EXPECT_NEAR(expectedImgCount, imgCount, 1);
196+
EXPECT_NEAR(expectedImgCount, depthImgCount, 1);
197197
imgCount = 0u;
198198
depthImgCount = 0u;
199199
}

0 commit comments

Comments
 (0)