Skip to content

Commit 7c0408d

Browse files
iche033mergify[bot]
authored andcommitted
Increase depth camera integration test error tol for ogre 1.x on arm based mac (#1180)
Signed-off-by: Ian Chen <[email protected]> (cherry picked from commit 3a907a7)
1 parent 27833d5 commit 7c0408d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/integration/depth_camera.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,8 @@ TEST_F(DepthCameraTest, GZ_UTILS_TEST_DISABLED_ON_WIN32(DepthCameraBoxes))
410410
// all points should have the same depth value
411411
EXPECT_FLOAT_EQ(expectedRange, scan[mid]);
412412
EXPECT_FLOAT_EQ(expectedRange, scan[left]);
413-
EXPECT_FLOAT_EQ(expectedRange, scan[right]);
413+
// Used a slightly higher tol for ogre1.x on arm-based mac
414+
EXPECT_NEAR(expectedRange, scan[right], 1e-6);
414415
}
415416
// Verify Point Cloud XYZ
416417
{

0 commit comments

Comments
 (0)