File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1122,7 +1122,10 @@ mod tests {
11221122
11231123 // Use a short timeout to avoid slow tests
11241124 let result = processor. shutdown_with_timeout ( Duration :: from_millis ( 500 ) ) ;
1125- assert ! ( result. is_err( ) , "Expected timeout error from hanging exporter" ) ;
1125+ assert ! (
1126+ result. is_err( ) ,
1127+ "Expected timeout error from hanging exporter"
1128+ ) ;
11261129 }
11271130
11281131 /// A slow exporter that counts the number of logs received.
Original file line number Diff line number Diff line change @@ -1666,7 +1666,10 @@ mod tests {
16661666
16671667 // Use a short timeout to avoid slow tests
16681668 let result = processor. shutdown_with_timeout ( Duration :: from_millis ( 500 ) ) ;
1669- assert ! ( result. is_err( ) , "Expected timeout error from hanging exporter" ) ;
1669+ assert ! (
1670+ result. is_err( ) ,
1671+ "Expected timeout error from hanging exporter"
1672+ ) ;
16701673 }
16711674
16721675 #[ tokio:: test( flavor = "multi_thread" , worker_threads = 4 ) ]
You can’t perform that action at this time.
0 commit comments