Skip to content

Commit 97b99a3

Browse files
committed
Fix tornado test ms to sec conversion
1 parent a45d617 commit 97b99a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/opentelemetry-instrumentation-tornado/tests/test_metrics_instrumentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ async def test_metrics_concurrent_requests(self):
234234
msg="Should have been about 1 second",
235235
)
236236
self.assertAlmostEqual(
237-
req2_server_duration_data_point.sum,
237+
req2_server_duration_data_point.sum / 1000.0,
238238
0.0,
239239
delta=0.1,
240240
msg="Should have been really short",

0 commit comments

Comments
 (0)