mirror of https://github.com/dswd/vpncloud.git
Fix test
This commit is contained in:
parent
cbc73d0c0e
commit
3797106f14
|
@ -794,7 +794,7 @@ mod tests {
|
||||||
let mut out = MsgBuffer::new(8);
|
let mut out = MsgBuffer::new(8);
|
||||||
sender.send_ping(&mut out);
|
sender.send_ping(&mut out);
|
||||||
assert_eq!(sender.stage(), STAGE_PONG);
|
assert_eq!(sender.stage(), STAGE_PONG);
|
||||||
for _ in 0..5 {
|
for _ in 0..120 {
|
||||||
out.clear();
|
out.clear();
|
||||||
sender.every_second(&mut out).unwrap();
|
sender.every_second(&mut out).unwrap();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue