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> {
36
36
match result {
37
37
Ok ( inner_result) => inner_result,
38
38
Err ( _error) => {
39
- println ! ( "timeout " ) ;
40
- process:: exit ( 1 ) ;
39
+ error ! ( "Timeout error during coredump processing. " ) ;
40
+ process:: exit ( 32 ) ;
41
41
}
42
42
}
43
43
}
Original file line number Diff line number Diff line change @@ -65,8 +65,7 @@ fn timeout_scenario() -> Result<(), std::io::Error> {
65
65
. output ( )
66
66
. expect ( "Couldn't execute" ) ;
67
67
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( ) ) ;
71
70
Ok ( ( ) )
72
71
}
You can’t perform that action at this time.
0 commit comments