summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJoakim Hulthe <joakim@hulthe.net>2024-03-20 17:09:41 +0100
committerJoakim Hulthe <joakim@hulthe.net>2024-03-20 17:09:41 +0100
commitdc9159a400be8fdef395f7ca3679c1a0a2d7b577 (patch)
treebe9a7fc48eee3ff2fb89d4c06a6583debc579601
parenta3a5c67abc4ee719e09d0b4befdc60b7fb2e7ff3 (diff)
downloadmullvadvpn-dc9159a400be8fdef395f7ca3679c1a0a2d7b577.tar.xz
mullvadvpn-dc9159a400be8fdef395f7ca3679c1a0a2d7b577.zip
Merge test_mtu_detection_{windows,linux} tests
-rw-r--r--test/test-manager/src/tests/tunnel_state.rs20
1 files changed, 2 insertions, 18 deletions
diff --git a/test/test-manager/src/tests/tunnel_state.rs b/test/test-manager/src/tests/tunnel_state.rs
index 407328e029..96f75557af 100644
--- a/test/test-manager/src/tests/tunnel_state.rs
+++ b/test/test-manager/src/tests/tunnel_state.rs
@@ -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> {