From 6abdb43e6b84706fc1c1062163cf61322c5cda2f Mon Sep 17 00:00:00 2001 From: Zeeshan Lakhani Date: Tue, 30 Jan 2024 12:54:24 -0500 Subject: [PATCH] chore: just test conn --- homestar-runtime/tests/cli.rs | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/homestar-runtime/tests/cli.rs b/homestar-runtime/tests/cli.rs index d15d8df6..d7fd8c85 100644 --- a/homestar-runtime/tests/cli.rs +++ b/homestar-runtime/tests/cli.rs @@ -280,26 +280,6 @@ fn test_daemon_integration() -> Result<()> { panic!("Homestar server/runtime failed to start in time"); } - let res = Command::new(BIN.as_os_str()) - .arg("ping") - .arg("--host") - .arg("127.0.0.1") - .arg("-p") - .arg(rpc_port.to_string()) - .assert() - .try_success(); - - match res { - Ok(ok) => { - ok.stdout(predicate::str::contains("127.0.0.1")) - .stdout(predicate::str::contains("pong")); - } - Err(err) => { - kill_homestar_daemon().unwrap(); - panic!("Err: {:?}", err); - } - } - kill_homestar_daemon().unwrap(); Ok(()) }