From ffc4fd034c79575a7844eeb86f54e78d051ba664 Mon Sep 17 00:00:00 2001 From: Nicolas Viennot Date: Thu, 18 Mar 2021 18:29:36 +0000 Subject: [PATCH] Add prints in tests --- src/process/process_group.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/process/process_group.rs b/src/process/process_group.rs index a03a4cd..9900e62 100644 --- a/src/process/process_group.rs +++ b/src/process/process_group.rs @@ -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(()) @@ -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(())