clean up tests. remove placeholder assert-true tests, fix replay
protection and NAT test logic, fix MWP connection test peer ID registration, use atomic port counter for test parallelism
This commit is contained in:
@@ -288,8 +288,7 @@ test "NAT: XOR address encoding concept" {
|
||||
const xored_port = port ^ @as(u16, @truncate(magic_cookie >> 16));
|
||||
|
||||
// The XORed value should be different from original
|
||||
_ = xored_port;
|
||||
try testing.expect(true);
|
||||
try testing.expect(xored_port != port);
|
||||
}
|
||||
|
||||
test "NAT: IPv4 address XOR concept" {
|
||||
|
||||
Reference in New Issue
Block a user