Skip to content

Commit

Permalink
Fix sensors battery state test (#1529)
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 authored Jun 13, 2022
1 parent b753afe commit b8c09b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/sensors_system_battery.cc
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ TEST_F(SensorsFixture, IGN_UTILS_TEST_DISABLED_ON_MAC(SensorsBatteryState))
// verify image count
{
std::lock_guard<std::mutex> lock(mutex);
EXPECT_EQ(expectedImgCount, imgCount);
EXPECT_EQ(expectedImgCount, depthImgCount);
EXPECT_NEAR(expectedImgCount, imgCount, 1);
EXPECT_NEAR(expectedImgCount, depthImgCount, 1);
imgCount = 0u;
depthImgCount = 0u;
}
Expand Down

0 comments on commit b8c09b6

Please sign in to comment.