From db791ed9b5514601e8a8fa9480bdc22dd23d6c32 Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Tue, 5 Mar 2024 12:36:32 +0100 Subject: [PATCH] Use newly published deny (#901) --- .github/workflows/ci.yml | 1 - src/cli/proxy.rs | 4 ++++ src/net/xds.rs | 1 + src/test.rs | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c0fbdb079..91083e69f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,7 +75,6 @@ jobs: deny-check: runs-on: ubuntu-22.04 - if: false # skip until I've updated the action steps: - uses: actions/checkout@v4 - name: deny check diff --git a/src/cli/proxy.rs b/src/cli/proxy.rs index 6fc544429d..2c4c2d45d0 100644 --- a/src/cli/proxy.rs +++ b/src/cli/proxy.rs @@ -618,6 +618,7 @@ mod tests { let local_addr = available_addr(&AddressType::Random).await; let proxy = crate::cli::Proxy { port: local_addr.port(), + qcmp_port: 0, ..<_>::default() }; @@ -669,6 +670,7 @@ mod tests { let proxy = crate::cli::Proxy { port: local_addr.port(), + qcmp_port: 0, ..<_>::default() }; @@ -720,6 +722,7 @@ mod tests { config, Some(crate::cli::Proxy { port: local_addr.port(), + qcmp_port: 0, ..<_>::default() }), None, @@ -792,6 +795,7 @@ mod tests { let local_addr = available_addr(&AddressType::Random).await; let proxy = crate::cli::Proxy { port: local_addr.port(), + qcmp_port: 0, ..<_>::default() }; diff --git a/src/net/xds.rs b/src/net/xds.rs index e3d65b42d2..b88775a18e 100644 --- a/src/net/xds.rs +++ b/src/net/xds.rs @@ -295,6 +295,7 @@ mod tests { let client_proxy = crate::cli::Proxy { port: client_addr.port(), management_server: vec![format!("http://[::1]:{}", xds_port).parse().unwrap()], + qcmp_port: 0, ..<_>::default() }; diff --git a/src/test.rs b/src/test.rs index 3e30273a78..d88e803111 100644 --- a/src/test.rs +++ b/src/test.rs @@ -283,6 +283,7 @@ impl TestHelper { crate::cli::Proxy { // Use an ephemeral port unless the test specifies otherwise port: 0, + qcmp_port: 0, ..Default::default() } });