@@ -910,7 +910,7 @@ TEST_P(TestControllerManagerWithUpdateRates, per_controller_equal_and_higher_upd
910
910
// [cm_update_rate, 2*cm_update_rate)
911
911
EXPECT_THAT (
912
912
test_controller->update_period_ .seconds (),
913
- testing::AllOf (testing::Ge (0.85 / cm_update_rate), testing::Lt ((1.15 / cm_update_rate))));
913
+ testing::AllOf (testing::Ge (0.8 / cm_update_rate), testing::Lt ((1.2 / cm_update_rate))));
914
914
ASSERT_EQ (
915
915
test_controller->internal_counter ,
916
916
cm_->get_loaded_controllers ()[0 ].execution_time_statistics ->GetCount ());
@@ -1239,10 +1239,10 @@ TEST_F(TestAsyncControllerUpdateRates, check_the_async_controller_update_rate_an
1239
1239
testing::AnyOf (testing::Ge (exp_counter - 1 ), testing::Le (exp_counter)));
1240
1240
EXPECT_THAT (
1241
1241
cm_->get_loaded_controllers ()[0 ].periodicity_statistics ->Average (),
1242
- testing::AllOf (testing::Ge (0.95 * exp_periodicity), testing::Lt ((1.05 * exp_periodicity))));
1242
+ testing::AllOf (testing::Ge (0.9 * exp_periodicity), testing::Lt ((1.1 * exp_periodicity))));
1243
1243
EXPECT_THAT (
1244
1244
cm_->get_loaded_controllers ()[0 ].periodicity_statistics ->Min (),
1245
- testing::AllOf (testing::Ge (0.75 * exp_periodicity), testing::Lt ((1.2 * exp_periodicity))));
1245
+ testing::AllOf (testing::Ge (0.5 * exp_periodicity), testing::Lt ((1.2 * exp_periodicity))));
1246
1246
EXPECT_THAT (
1247
1247
cm_->get_loaded_controllers ()[0 ].periodicity_statistics ->Max (),
1248
1248
testing::AllOf (testing::Ge (0.75 * exp_periodicity), testing::Lt ((2.0 * exp_periodicity))));
0 commit comments