@@ -69,11 +69,11 @@ mod metrictests {
69
69
) ;
70
70
71
71
// 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 ( )
73
73
. spawn_blocking ( move || meter_provider. shutdown ( ) )
74
74
. await
75
75
. unwrap ( ) ;
76
- assert ! ( shutdown_resut . is_ok( ) ) ;
76
+ assert ! ( shutdown_result . is_ok( ) ) ;
77
77
// We still need to sleep, to give otel-collector a chance to flush to disk
78
78
std:: thread:: sleep ( SLEEP_DURATION ) ;
79
79
@@ -102,8 +102,8 @@ mod metrictests {
102
102
] ,
103
103
) ;
104
104
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( ) ) ;
107
107
// We still need to sleep, to give otel-collector a chance to flush to disk
108
108
std:: thread:: sleep ( SLEEP_DURATION ) ;
109
109
@@ -129,8 +129,8 @@ mod metrictests {
129
129
] ,
130
130
) ;
131
131
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( ) ) ;
134
134
// We still need to sleep, to give otel-collector a chance to flush to disk
135
135
std:: thread:: sleep ( SLEEP_DURATION ) ;
136
136
0 commit comments