fix(tunnel): add missing .unwrap() in stdout_drain_prevents_zombie test

CustomTunnel::new was changed to return Result<Self> but this test
callsite was missed. Fixes compilation error.

[skip-regression-check]
This commit is contained in:
willamhou
2026-03-22 19:49:11 -07:00
committed by Zaki
parent ccfcd4bfde
commit 7b1fc331c6
+1 -1
View File
@@ -281,7 +281,7 @@ mod tests {
// `yes` floods stdout indefinitely; without the drain task the pipe
// buffer fills (64 KB) and the child blocks on write(), becoming a
// zombie. With draining the child stays alive and stop() can kill it.
let tunnel = CustomTunnel::new("yes".into(), None, None);
let tunnel = CustomTunnel::new("yes".into(), None, None).unwrap();
let url = tunnel.start("127.0.0.1", 19999).await.unwrap();
assert_eq!(url, "http://127.0.0.1:19999");