test: allow CI headroom for TLS cancellation

This commit is contained in:
Kevin Yue committed 2026-09-29 23:55:44 +08:00
1 parent c67998a540
commit 2f76b3d4eb
1 file changed
+1 -1
+1 -1
View File
@@ -765,7 +765,7 @@ mod tests {
}
};
vpn.disconnect();
let result = rx.recv_timeout(Duration::from_secs(2));
let result = rx.recv_timeout(Duration::from_secs(10));
drop(peer); // Release the peer even if cancellation regresses.
worker.join().unwrap();
assert_ne!(result.expect("Cancellation did not interrupt TLS"), 0);