mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-05 09:37:46 +08:00
flaky fixes
This commit is contained in:
@@ -301,7 +301,7 @@ TEST(SensorCaptureTest, TakeDataWithFrameRateThrottling)
|
||||
|
||||
// With 10 Hz throttling, two captures should wait ~100 ms each (~200 ms total).
|
||||
EXPECT_GE(elapsed, 0.19);
|
||||
EXPECT_LE(elapsed, 0.5); // allow scheduler jitter on loaded CI runners (e.g. macOS)
|
||||
EXPECT_LE(elapsed, 1.0); // allow scheduler jitter on loaded CI runners (e.g. macOS overshot 0.5 by ~3 ms)
|
||||
EXPECT_TRUE(data1.isValid());
|
||||
EXPECT_TRUE(data2.isValid());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user