Skip to content

Commit

Permalink
[eclipse-iceoryx#64] Fix spuriously failing windows test by using a l…
Browse files Browse the repository at this point in the history
…ower port
  • Loading branch information
elfenpiff committed Jan 2, 2024
1 parent bb6f4bc commit 9b99564
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions iceoryx2-bb/posix/tests/udp_socket_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
Expand Down Expand Up @@ -107,12 +106,12 @@ fn udp_socket_when_socket_goes_out_of_scope_address_is_free_again() {
fn udp_socket_server_has_correct_address() {
let sut_server = UdpServerBuilder::new()
.address(ipv4_address::LOCALHOST)
.port(Port::new(65111))
.port(Port::new(55223))
.listen()
.unwrap();

assert_that!(sut_server.address(), eq ipv4_address::LOCALHOST);
assert_that!(sut_server.port(), eq Port::new(65111));
assert_that!(sut_server.port(), eq Port::new(55223));
}

#[test]
Expand Down

0 comments on commit 9b99564

Please sign in to comment.