From 0b69786c30477f521d8bcffa7fc09ff968cb3af4 Mon Sep 17 00:00:00 2001 From: Anshul Asawa <35421635+TheAnshul756@users.noreply.github.com> Date: Wed, 21 Sep 2022 01:29:35 +0530 Subject: [PATCH] fix flaky test in fastapi (#1344) --- .../tests/test_fastapi_instrumentation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/opentelemetry-instrumentation-fastapi/tests/test_fastapi_instrumentation.py b/instrumentation/opentelemetry-instrumentation-fastapi/tests/test_fastapi_instrumentation.py index fff3578b1..e8b1b6fbb 100644 --- a/instrumentation/opentelemetry-instrumentation-fastapi/tests/test_fastapi_instrumentation.py +++ b/instrumentation/opentelemetry-instrumentation-fastapi/tests/test_fastapi_instrumentation.py @@ -236,7 +236,7 @@ class TestFastAPIManualInstrumentation(TestBase): dict(point.attributes), ) self.assertEqual(point.count, 1) - self.assertAlmostEqual(duration, point.sum, delta=20) + self.assertAlmostEqual(duration, point.sum, delta=30) if isinstance(point, NumberDataPoint): self.assertDictEqual( expected_requests_count_attributes,