File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1150,7 +1150,10 @@ mod tests {
11501150
11511151 // Use a short timeout to avoid slow tests
11521152 let result = processor. shutdown_with_timeout ( Duration :: from_millis ( 500 ) ) ;
1153- assert ! ( result. is_err( ) , "Expected timeout error from hanging exporter" ) ;
1153+ assert ! (
1154+ result. is_err( ) ,
1155+ "Expected timeout error from hanging exporter"
1156+ ) ;
11541157 }
11551158
11561159 /// A slow exporter that counts the number of logs received.
Original file line number Diff line number Diff line change @@ -1720,7 +1720,10 @@ mod tests {
17201720
17211721 // Use a short timeout to avoid slow tests
17221722 let result = processor. shutdown_with_timeout ( Duration :: from_millis ( 500 ) ) ;
1723- assert ! ( result. is_err( ) , "Expected timeout error from hanging exporter" ) ;
1723+ assert ! (
1724+ result. is_err( ) ,
1725+ "Expected timeout error from hanging exporter"
1726+ ) ;
17241727 }
17251728
17261729 #[ tokio:: test( flavor = "multi_thread" , worker_threads = 4 ) ]
You can’t perform that action at this time.
0 commit comments