Skip to content

Commit ed4bf96

Browse files
committed
test
1 parent 18576aa commit ed4bf96

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

crates/pop-cli/tests/chain.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ rpc_port = {random_port}
201201
&working_dir,
202202
["up", "network", "./network.toml", "-r", "stable2506-2", "--verbose", "--skip-confirm"],
203203
);
204-
let mut up = TestChildProcess(command.spawn()?);
204+
let up = command.spawn()?;
205205

206206
// Wait for the networks to initialize. Increased timeout to accommodate CI environment delays.
207207
let wait = Duration::from_secs(300);
@@ -287,10 +287,6 @@ rpc_port = {random_port}
287287
);
288288
assert!(command.spawn()?.wait().await?.success());
289289

290-
assert!(up.0.try_wait()?.is_none(), "the process should still be running");
291-
// Stop the process
292-
up.0.kill().await?;
293-
up.0.wait().await?;
294290

295291
Ok(())
296292
}

0 commit comments

Comments
 (0)