Browse Source

wasi-sockets: Fix flaky UDP test. (#7608)

Fixes: #7606
pull/7610/head
Dave Bakker 11 months ago
committed by GitHub
parent
commit
2d7a00e60d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      crates/test-programs/src/bin/preview2_udp_bind.rs

2
crates/test-programs/src/bin/preview2_udp_bind.rs

@ -28,7 +28,7 @@ fn test_udp_bind_specific_port(net: &Network, ip: IpAddress) {
// Concurrent invocations of this test can yield `AddressInUse` and that
// same error can show up on Windows as `AccessDenied`.
Err(ErrorCode::AddressInUse | ErrorCode::AccessDenied) => {}
Err(ErrorCode::AddressInUse | ErrorCode::AccessDenied) => return,
r => r.unwrap(),
}

Loading…
Cancel
Save