Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typo in metrics.rs #2761

Merged
merged 3 commits into from
Mar 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions opentelemetry-otlp/tests/integration_test/tests/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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);

Expand All @@ -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);

Expand Down