Skip to content

Commit

Permalink
Merge test_mtu_detection_{windows,linux} tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hulthe committed Mar 20, 2024
1 parent a3a5c67 commit dc9159a
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions test/test-manager/src/tests/tunnel_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,25 +72,9 @@ async fn setup_nftables_drop_pings_rule(
})
}

#[test_function(target_os = "windows")]
pub async fn test_mtu_detection_windows(
_: TestContext,
rpc: ServiceClient,
mullvad_client: MullvadProxyClient,
) -> Result<(), Error> {
test_mtu_detection(rpc, mullvad_client).await
}

#[test_function(target_os = "linux")]
pub async fn test_mtu_detection_linux(
_: TestContext,
rpc: ServiceClient,
mullvad_client: MullvadProxyClient,
) -> Result<(), Error> {
test_mtu_detection(rpc, mullvad_client).await
}

#[test_function(target_os = "linux", target_os = "windows")]
async fn test_mtu_detection(
_: TestContext,
rpc: ServiceClient,
mut mullvad_client: MullvadProxyClient,
) -> Result<(), Error> {
Expand Down

0 comments on commit dc9159a

Please sign in to comment.