File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed 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 @@ -1604,7 +1604,10 @@ mod tests {
16041604
16051605 // Use a short timeout to avoid slow tests
16061606 let result = processor. shutdown_with_timeout ( Duration :: from_millis ( 500 ) ) ;
1607- assert ! ( result. is_err( ) , "Expected timeout error from hanging exporter" ) ;
1607+ assert ! (
1608+ result. is_err( ) ,
1609+ "Expected timeout error from hanging exporter"
1610+ ) ;
16081611 }
16091612
16101613 #[ tokio:: test( flavor = "multi_thread" , worker_threads = 4 ) ]
You can’t perform that action at this time.
0 commit comments