mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 10:45:30 +00:00
udp: fix test_connection_validator
This commit is contained in:
parent
d7ebf5e546
commit
f4ef9fcfc9
1 changed files with 5 additions and 1 deletions
|
|
@ -156,6 +156,10 @@ mod tests {
|
||||||
return quickcheck::TestResult::failed();
|
return quickcheck::TestResult::failed();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if max_connection_age == 0 {
|
||||||
|
quickcheck::TestResult::from_bool(!original_valid)
|
||||||
|
} else {
|
||||||
quickcheck::TestResult::from_bool(original_valid)
|
quickcheck::TestResult::from_bool(original_valid)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue