From 20bcbc7122d394f237bf130d144bbc37730a70ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lloren=C3=A7?= Date: Tue, 5 Nov 2024 15:14:44 +0100 Subject: [PATCH] Fix test --- src/internet_identity/tests/integration/http.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internet_identity/tests/integration/http.rs b/src/internet_identity/tests/integration/http.rs index 0d759541e5..78750172df 100644 --- a/src/internet_identity/tests/integration/http.rs +++ b/src/internet_identity/tests/integration/http.rs @@ -811,13 +811,13 @@ fn should_report_registration_rates() -> Result<(), CallError> { assert_metric_approx( &metrics, "internet_identity_registrations_per_second{type=\"current_rate\"}", - 1.3, + 2f64, 0.1, ); assert_metric_approx( &metrics, "internet_identity_registrations_per_second{type=\"captcha_threshold_rate\"}", - 1.9, + 0.48, 0.1, ); Ok(())