test(utils): allow ephemeral port reuse

This commit is contained in:
overtrue
2026-08-15 07:13:26 +08:00
parent 3c88e8df8a
commit 4ea0934d45
-3
View File
@@ -659,9 +659,6 @@ mod test {
// Port should be in valid range (u16 max is always <= 65535) // Port should be in valid range (u16 max is always <= 65535)
assert!(port1 > 0); assert!(port1 > 0);
assert!(port2 > 0); assert!(port2 > 0);
// Different calls should typically return different ports
assert_ne!(port1, port2);
} }
#[test] #[test]