summaryrefslogtreecommitdiffhomepage
path: root/test/test-rpc/src
AgeCommit message (Collapse)AuthorFilesLines
2024-11-08Check that the daemon version is correct post-upgradeMarkus Pettersson2-0/+13
2024-10-16Use `ring` crypto-provider explicitly in test frameworkSebastian Holmin1-2/+8
2024-09-26Update to `hyper` version 1 echosystem for e2e testsSebastian Holmin1-16/+20
2024-08-27Use std LazyLock instead of once_cell LazyDavid Lönnhager1-3/+2
2024-08-22Spawn test processes as an unprivileged user by defaultDavid Lönnhager1-0/+4
Fixes an issue where the connection-checker is allowed to leak traffic on macOS
2024-08-14Redo error handling `test_automatic_wireguard_rotation`Markus Pettersson1-5/+10
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
2024-07-29Fix lints for Rust verson 1.80 in e2e testsSebastian Holmin1-1/+1
* Lower priority for lint group * doc list item missing indentation
2024-07-16Add E2E test of CVE-2019-14899 mitigationJoakim Hulthe2-0/+10
2024-04-12Reset daemon environment when neededMarkus Pettersson2-0/+26
2024-04-08Print detected tested guest OS versionDavid Lönnhager1-0/+10
2024-04-08Add get_os_version RPCDavid Lönnhager3-0/+27
2024-04-08Add timeout to tester geoip rcp callJoakim Hulthe1-3/+12
2024-03-25Make sure connecting works while API is unavailableMarkus Pettersson1-0/+5
2024-03-20Test leaking TCP/UDP/ICMP packets in split tunnelJoakim Hulthe2-0/+69
2024-03-20Refactor forward_messages to use select macroJoakim Hulthe1-28/+29
2024-03-08Add wrapped strings to error messagesSebastian Holmin1-8/+8
2024-03-08Add MTU detection integration test for Linux and WindowsSebastian Holmin2-9/+27
Add dependency `scopeguard` for cleaning up nftables ruleset.
2024-02-27Replace err_derive with thiserrorJoakim Hulthe4-56/+51
`err_derive` is unmaintained and will probably stop working with rust edition 2024. `thiserror` is almost a drop-in replacement. This commit simply replaces all occurences of `derive(err_derive::Error)` with `derive(thiserror::Error)` and fixes the attributes, but the Error and Display impls should be identical.
2024-02-15Enable access method GUI test in e2e testingMarkus Pettersson1-1/+7
Since `test_custom_access_methods_ui` may fail after messing with the test runner environment, we want to fail fast and abort the entire test run if the test fails before managing to clean up.
2024-02-07Add RPCs for running TCP forwarder on test runnerDavid Lönnhager3-1/+78
2024-01-08Add 'skipped' status to test summaryDavid Lönnhager1-0/+1
2024-01-08Add 'target_os' attribute to test macroDavid Lönnhager3-21/+15
2024-01-04Fix code not following new linting rules in testing frameworkLinus Färnstrand2-3/+4
2023-12-15[Clippy] Fix complex typesMarkus Pettersson1-16/+17
2023-12-15[Clippy] Fix unused `async`Markus Pettersson1-1/+1
2023-12-06Remove superseded RPC for restarting the Mullvad system serviceMarkus Pettersson2-29/+27
The function `set_mullvad_daemon_service_state(on: bool) -> Result<(), test_rpc::Error>`, which would conditionally start or stop the Mullvad daemon in the test runner, has been superseded by two separate functions which accomplish the same thing: `start_mullvad_daemon` & `stop_mullvad_daemon`.
2023-12-06Add `test_connecting_state_when_corrupted_state_cache`Markus Pettersson2-5/+10
Add regression test which checks that the daemon successfully recovers from a corrupt target state cache. If the target state cache is corrupt, the daemon will default to the `Connecting` target state on startup.
2023-12-06Implement RPC for reading & writing to app cache fileMarkus Pettersson2-0/+60
- Implement RPC for writing to a file in a test runner / guest VM. - Implement RPC for getting app cache directory - Implement RPC for restarting the app in a test runner / guest vm - Implement RPC for starting the app in a test runner / guest vm - Implement RPC for stopping the app in a test runner / guest vm - Implement `find_cache_traces` on Window & macOS
2023-11-22Obtain tunnel interface from management interface in testsDavid Lönnhager2-23/+15
2023-10-20Add desktop end-to-end testsDavid Lönnhager8-0/+1175
Co-authored-by: Jonathan <jonathan@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>