File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ fn main() -> Result<(), anyhow::Error> {
3636 match result {
3737 Ok ( inner_result) => inner_result,
3838 Err ( _error) => {
39- println ! ( "timeout " ) ;
40- process:: exit ( 1 ) ;
39+ error ! ( "Timeout error during coredump processing. " ) ;
40+ process:: exit ( 32 ) ;
4141 }
4242 }
4343}
Original file line number Diff line number Diff line change @@ -65,8 +65,7 @@ fn timeout_scenario() -> Result<(), std::io::Error> {
6565 . output ( )
6666 . expect ( "Couldn't execute" ) ;
6767
68- println ! ( "{}" , String :: from_utf8_lossy( & cdc. stdout) ) ;
69- assert_eq ! ( "timeout\n " , String :: from_utf8_lossy( & cdc. stdout) ) ;
70- assert_eq ! ( 1 , * & cdc. status. code( ) . unwrap( ) ) ;
68+ // FIXME: It would be nice to check the log output here.
69+ assert_eq ! ( 32 , * & cdc. status. code( ) . unwrap( ) ) ;
7170 Ok ( ( ) )
7271}
You can’t perform that action at this time.
0 commit comments