Skip to content

Commit

Permalink
use random port in test
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky authored and markmandel committed Jun 15, 2023
1 parent 5374f68 commit b29e09d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/qcmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use quilkin::{protocol::Protocol, test_utils::TestHelper};
#[tokio::test]
async fn proxy_ping() {
let mut t = TestHelper::default();
let server_port = 12348;
let server_port = quilkin::test_utils::available_addr().await.port();
let server_proxy = quilkin::cli::Proxy {
port: server_port,
to: vec![(Ipv4Addr::UNSPECIFIED, 0).into()],
Expand Down

0 comments on commit b29e09d

Please sign in to comment.