summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2024-03-20 17:12:00 +0100
committerDavid Lönnhager <david.l@mullvad.net>2024-03-20 17:12:00 +0100
commitc262c9f237b99c767136503289ebd5d64bd33abf (patch)
treebe9a7fc48eee3ff2fb89d4c06a6583debc579601
parenta3a5c67abc4ee719e09d0b4befdc60b7fb2e7ff3 (diff)
parentdc9159a400be8fdef395f7ca3679c1a0a2d7b577 (diff)
downloadmullvadvpn-c262c9f237b99c767136503289ebd5d64bd33abf.tar.xz
mullvadvpn-c262c9f237b99c767136503289ebd5d64bd33abf.zip
Merge remote-tracking branch 'origin/unify-mtu-detection-e2e-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> {