Skip to content

Commit b33f0cc

Browse files
Pixels67cijothomas
andauthored
fix: typo in metrics.rs (#2761)
Co-authored-by: Cijo Thomas <[email protected]>
1 parent 36cbe8d commit b33f0cc

File tree

1 file changed

+6
-6
lines changed
  • opentelemetry-otlp/tests/integration_test/tests

1 file changed

+6
-6
lines changed

opentelemetry-otlp/tests/integration_test/tests/metrics.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ mod metrictests {
6969
);
7070

7171
// In tokio::current_thread flavor, shutdown must be done in a separate thread
72-
let shutdown_resut = Handle::current()
72+
let shutdown_result = Handle::current()
7373
.spawn_blocking(move || meter_provider.shutdown())
7474
.await
7575
.unwrap();
76-
assert!(shutdown_resut.is_ok());
76+
assert!(shutdown_result.is_ok());
7777
// We still need to sleep, to give otel-collector a chance to flush to disk
7878
std::thread::sleep(SLEEP_DURATION);
7979

@@ -102,8 +102,8 @@ mod metrictests {
102102
],
103103
);
104104

105-
let shutdown_resut = meter_provider.shutdown();
106-
assert!(shutdown_resut.is_ok());
105+
let shutdown_result = meter_provider.shutdown();
106+
assert!(shutdown_result.is_ok());
107107
// We still need to sleep, to give otel-collector a chance to flush to disk
108108
std::thread::sleep(SLEEP_DURATION);
109109

@@ -129,8 +129,8 @@ mod metrictests {
129129
],
130130
);
131131

132-
let shutdown_resut = meter_provider.shutdown();
133-
assert!(shutdown_resut.is_ok());
132+
let shutdown_result = meter_provider.shutdown();
133+
assert!(shutdown_result.is_ok());
134134
// We still need to sleep, to give otel-collector a chance to flush to disk
135135
std::thread::sleep(SLEEP_DURATION);
136136

0 commit comments

Comments
 (0)