mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 06:26:14 -05:00
test: allow CI headroom for TLS cancellation
This commit is contained in:
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user