Skip to content

Commit

Permalink
Merge pull request #298 from yihuaf/yihuaf/cov
Browse files Browse the repository at this point in the history
Don't skip the hook timeout test, to incease coverage
  • Loading branch information
utam0k authored Sep 15, 2021
2 parents 40e8363 + 14b54bf commit c0a344e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/hooks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,8 @@ mod test {

#[test]
#[serial]
#[ignore]
// This will test executing hook with a timeout. Since the timeout is set in
// secs, minimally, the test will run for 1 second to trigger the timeout.
// Therefore, we leave this test in the normal execution.
fn test_run_hook_timeout() -> Result<()> {
let default_container: Container = Default::default();
// We use `tail -f /dev/null` here to simulate a hook command that hangs.
Expand Down

0 comments on commit c0a344e

Please sign in to comment.