Skip to content

Commit

Permalink
Add prints in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nviennot committed Mar 18, 2021
1 parent b9a6cf4 commit ffc4fd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/process/process_group.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ mod test {

drop(pgrp);

println!("elapsed time {}ms", start_time.elapsed().as_millis());
assert!(start_time.elapsed().as_millis() > 1000);

Ok(())
Expand All @@ -337,6 +338,7 @@ mod test {

pgrp.wait_for_success()?;

println!("elapsed time {}ms", start_time.elapsed().as_millis());
assert!(start_time.elapsed().as_secs() < 1000);

Ok(())
Expand Down

0 comments on commit ffc4fd0

Please sign in to comment.