@@ -31,7 +31,7 @@ BOOST_AUTO_TEST_CASE(derivedRateInt)
3131 o2::monitoring::Metric metric (result.value , name);
3232 o2::monitoring::Metric derived = derivedHandler.process (metric, DerivedMetricMode::RATE);
3333 BOOST_CHECK_EQUAL (derived.getName (), " metricIntRate" );
34- BOOST_WARN_CLOSE (boost::get<double >(derived.getValue ()), result.rate , 1 .0 );
34+ BOOST_WARN_CLOSE (boost::get<double >(derived.getValue ()), result.rate , 5 .0 );
3535 } catch (MonitoringException &e) {
3636 BOOST_CHECK_EQUAL (e.what (), std::string (" Not enough values" ));
3737 }
@@ -79,7 +79,7 @@ BOOST_AUTO_TEST_CASE(derivedRateUint64_t) {
7979 o2::monitoring::Metric metric (result.value , name);
8080 o2::monitoring::Metric derived = derivedHandler.process (metric, DerivedMetricMode::RATE);
8181 BOOST_CHECK_EQUAL (derived.getName (), " metricUint64_tRate" );
82- BOOST_WARN_CLOSE (boost::get<double >(derived.getValue ()), result.rate , 1 .0 );
82+ BOOST_WARN_CLOSE (boost::get<double >(derived.getValue ()), result.rate , 5 .0 );
8383 } catch (MonitoringException &e) {
8484 BOOST_CHECK_EQUAL (e.what (), std::string (" Not enough values" ));
8585 }
0 commit comments