From 4f1e59f35fe196247b30ccf6f537c0d3f5d91e0d Mon Sep 17 00:00:00 2001 From: Pixels Date: Wed, 5 Mar 2025 21:17:28 +0300 Subject: [PATCH] fix: typo in metrics.rs - Change 'shutdown_resut' to 'shutdown_result' --- .../tests/integration_test/tests/metrics.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/opentelemetry-otlp/tests/integration_test/tests/metrics.rs b/opentelemetry-otlp/tests/integration_test/tests/metrics.rs index 80e3298971..8ba7b034c2 100644 --- a/opentelemetry-otlp/tests/integration_test/tests/metrics.rs +++ b/opentelemetry-otlp/tests/integration_test/tests/metrics.rs @@ -69,11 +69,11 @@ mod metrictests { ); // In tokio::current_thread flavor, shutdown must be done in a separate thread - let shutdown_resut = Handle::current() + let shutdown_result = Handle::current() .spawn_blocking(move || meter_provider.shutdown()) .await .unwrap(); - assert!(shutdown_resut.is_ok()); + assert!(shutdown_result.is_ok()); // We still need to sleep, to give otel-collector a chance to flush to disk std::thread::sleep(SLEEP_DURATION); @@ -102,8 +102,8 @@ mod metrictests { ], ); - let shutdown_resut = meter_provider.shutdown(); - assert!(shutdown_resut.is_ok()); + let shutdown_result = meter_provider.shutdown(); + assert!(shutdown_result.is_ok()); // We still need to sleep, to give otel-collector a chance to flush to disk std::thread::sleep(SLEEP_DURATION); @@ -129,8 +129,8 @@ mod metrictests { ], ); - let shutdown_resut = meter_provider.shutdown(); - assert!(shutdown_resut.is_ok()); + let shutdown_result = meter_provider.shutdown(); + assert!(shutdown_result.is_ok()); // We still need to sleep, to give otel-collector a chance to flush to disk std::thread::sleep(SLEEP_DURATION);