pub fn assert_agent_running(agent_handle: &mut Child) {
    assert!(agent_handle.try_wait().ok().unwrap().is_none());
    for _ in 0..10 {
        thread::sleep(std::time::Duration::from_millis(20));
        assert!(agent_handle.try_wait().ok().unwrap().is_none());
    }
}
/// Verifies that the agent is still running
Verifies that the agent is still running
Verifies that the agent is still running
pub fn assert_agent_running(agent_handle: &mut Child) {
    assert!(agent_handle.try_wait().ok().unwrap().is_none());
    for _ in 0..10 {
        thread::sleep(std::time::Duration::from_millis(20));
        assert!(agent_handle.try_wait().ok().unwrap().is_none());
    }
}
pub fn assert_agent_running ( agent_handle : & mut Child ) { assert ! ( agent_handle try_wait ( ) ok ( ) unwrap ( ) is_none ( ) ) ; for _ in 0 .. 10 { thread :: sleep ( std :: time :: Duration :: from_millis ( 20 ) ) ; assert ! ( agent_handle try_wait ( ) ok ( ) unwrap ( ) is_none ( ) ) ; } }
Verifies that the agent is still running
Verifies that the agent is still running
agent_handle
&mut Child
agent_handle
&mut Child