summaryrefslogtreecommitdiffhomepage
path: root/test/test-manager
AgeCommit message (Collapse)AuthorFilesLines
2024-11-20Do not fail when specifying tests skipped for OSSebastian Holmin1-8/+10
When starting e2e tests on multiple platforms, we always specify the same list of tests for all paltforms. Therefore we should not fail on parsing a test that is skipped for the current platform.
2024-11-20Select bridge respecting location constraintSebastian Holmin2-4/+3
2024-11-18Run connection-checker against the specified API environmentDavid Lönnhager1-0/+2
2024-11-18Add flag for overriding API environment in testsDavid Lönnhager1-1/+11
2024-11-15Return error from `get_tunnel_interface` to ease error propagationMarkus Pettersson2-5/+8
2024-11-15Add end-to-end test for MLLVD_CR_24_03Markus Pettersson2-0/+82
2024-11-15Move end-to-end tests for audit issues to separate moduleMarkus Pettersson5-104/+118
2024-11-14Use low-latency relays for `test_ui_tunnel_settings`Sebastian Holmin1-1/+9
2024-11-14Make `constrain_to_relay` work with custom listsSebastian Holmin1-3/+17
2024-11-14Update script and code references to gui-directoryOskar2-4/+6
2024-11-12Address `test_wireguard_over_shadowsocks` flakinessMarkus Pettersson1-1/+9
Limit relay selection in `test_wireguard_over_shadowsocks` to reduce flakiness. Hopefully this should be able to (at least partially) mitigate timeout related issues.
2024-11-12Address `test_multihop` flakinessMarkus Pettersson1-1/+10
Limit relay selection in `test_multihop` to reduce flakiness. Hopefully this should be able to (at least partially) mitigate timeout related issues.
2024-11-12Address `test_quantum_resistant_tunnel` flakinessMarkus Pettersson1-8/+11
Limit relay selection in `test_quantum_resistant_tunnel` to reduce flakiness. Hopefully this should be able to (at least partially) mitigate timeout related issues.
2024-11-12Address `test_quantum_resistant_multihop_udp2tcp_tunnel` flakinessMarkus Pettersson1-0/+6
Limit relay selection in `test_quantum_resistant_multihop_udp2tcp_tunnel` to reduce flakiness. Hopefully this should be able to (at least partially) mitigate timeout-related issues.
2024-11-12Address `test_quantum_resistant_multihop_shadowsocks_tunnel` flakinessMarkus Pettersson1-0/+6
Limit relay selection in `test_quantum_resistant_multihop_shadowsocks_tunnel` to reduce flakiness Hopefully this should be able to (at least partially) mitigate timeout-related issues.
2024-11-12Add default custom lists before running a testMarkus Pettersson1-0/+1
2024-11-12Add helper module for working with custom lists in end-to-end testsMarkus Pettersson1-0/+124
2024-11-08Remove `once_cell` from `test` workspaceMarkus Pettersson2-5/+8
2024-11-08Check that the daemon version is correct post-upgradeMarkus Pettersson2-0/+15
2024-10-31Do not fallback to direct API connections when testing access methodsMarkus Pettersson1-10/+2
2024-10-18Add settings testOskar1-0/+8
2024-10-07Rename "smart routing" to "direct only" in the APISebastian Holmin1-10/+10
Also invert the behavior
2024-09-26Update to `hyper` version 1 echosystem for e2e testsSebastian Holmin1-1/+1
2024-09-25Upgrade `tonic` to 0.12 and `prost` to 0.13Sebastian Holmin2-6/+8
Upgrading `tonic` is a prerequisite to later on upgrading `hyper` to version 1.0. As of version 1.0, `hyper` no longer uses `tokio`s `AsyncWriter` and `AsyncReader` traits, instead defining its own versions, see <https://github.com/hyperium/hyper/issues/3110>. As tonic `0.12` is updated to use the `hyper 1.0` ecosystem, it changed some of its trait-bounds to the new `hyper` traits. The `hyper-utils` crate provides the wrapper `TokioIo`, which converts between the two. `prost` had to be upgraded as well, for compatibility.
2024-09-23Use consistent timestamps in testsDavid Lönnhager1-4/+13
2024-09-23Add timestamp to test outcome logsDavid Lönnhager1-14/+24
2024-09-23Include amount of time it took to connect in testDavid Lönnhager2-3/+9
2024-09-17Add DAITA smart routing e2e testsJoakim Hulthe3-36/+205
2024-09-17Remove Option from Relay::locationJoakim Hulthe4-26/+15
2024-09-16Run `obfuscation.spec.ts` in e2e testsMarkus Pettersson1-0/+8
2024-09-02Replace footgunny From implementations for RelayQueryDavid Lönnhager2-121/+45
2024-09-02Add integration tests for WG over ShadowsocksDavid Lönnhager1-2/+93
2024-08-29Fix test_split_tunnelDavid Lönnhager1-9/+9
Raw ICMP isn't allowed on all platforms for unprivileged users. Instead: * Use SOCK_DGRAM, where possible * Use 'ping' command, since SOCK_DGRAM isn't allowed on some older Linux distros.
2024-08-28Add package-dir to "Could not find app" errorJoakim Hulthe1-5/+7
2024-08-28Filter out OpenVPN relays when a core privacy feature is enabledDavid Lönnhager1-2/+6
Core privacy features currently include PQ, multihop, and DAITA
2024-08-27Use std LazyLock instead of once_cell LazyDavid Lönnhager3-8/+10
2024-08-22Spawn test processes as an unprivileged user by defaultDavid Lönnhager1-1/+2
Fixes an issue where the connection-checker is allowed to leak traffic on macOS
2024-08-21Set relay port with constrain_to_relay helperDavid Lönnhager1-4/+7
2024-08-16Run tests in the order givenSebastian Holmin3-50/+50
2024-08-16Remove `always_run` test macro parameterSebastian Holmin3-24/+3
2024-08-16Remove `must_succede` test macro parameterSebastian Holmin3-21/+3
This simplifes handling of test results.
2024-08-16Remove `cleanup` test macro parameterSebastian Holmin2-17/+2
2024-08-16Refactor test cleanup logicSebastian Holmin10-360/+481
Cleanup is now done BEFORE tests are run and takes care of resetting the daemon state more thoroughly. The daemon will now always be installed, logged in and disconnected with all settings reset before the next test. Tests are therefore not able to depend on the previous test leaving the test-runner in a certain state and must instead take care of setting up their own state themselves. `test_upgrade_app` gets special treatment to be able to run before the new app version is automatically installed. Refactor `run_tests.rs`
2024-08-16Improve logs and reduce verbositySebastian Holmin6-21/+24
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
2024-08-16Add Shadowsocks obfuscation support to mullvad-daemonDavid Lönnhager1-0/+2
2024-08-14Add `--test-runner-dir` flagSebastian Holmin4-18/+12
2024-08-14Add script for building test framework artifactsMarkus Pettersson1-2/+8
Pass `TEST_MANAGER_STATIC` when building the `test-manager` crate to have it link statically against `libpcap`. This is optional, but building the with the provided container will produce a statically linked binary.
2024-08-14Build `libpcap` without dbusDavid Lönnhager1-0/+3
2024-08-14Remove test test_connecting_state_when_corrupted_state_cacheDavid Lönnhager1-49/+0
This is covered by unit tests now
2024-08-14Redo error handling `test_automatic_wireguard_rotation`Markus Pettersson4-88/+86
Make the following changes: - Propagate the device error instead of throwing away the error information by transforming it into an `Option`. - Increase daemon restart timeout - Convert catch-all arm to exhaustive check