summaryrefslogtreecommitdiffhomepage
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2024-06-10Retry DNS lookup for API in test managerDavid Lönnhager5-58/+95
2024-06-03Update `test/Cargo.lock`Markus Pettersson1-1/+0
2024-05-29Run UI tests for macOS split tunnelingDavid Lönnhager1-8/+29
2024-05-23Update documentation on how to add new Windows VMsMarkus Pettersson1-0/+4
Mention that the `test-runner` and standalone e2e test executable should be excluded from being flagged by Windows Security. We have experienced some false positives lately, and we do indeed trust what we upload to the test runner VMs.
2024-05-16Increase boot timeout for testing guestsDavid Lönnhager1-1/+1
2024-05-03Simplify cleanup of testing cacheDavid Lönnhager1-3/+2
2024-04-30Enable integration tests for macOS split tunnelingDavid Lönnhager3-5/+21
2024-04-30Downgrade zeroize in test workspaceDavid Lönnhager1-2/+2
1.8.0 has been yanked
2024-04-29Rename build.sh to build-runner.shDavid Lönnhager3-11/+9
This commit also updates ci-runtests.sh
2024-04-29Build Windows runner in containerDavid Lönnhager4-25/+35
2024-04-29Make test build setup more like app containerDavid Lönnhager2-24/+45
2024-04-29Share cargo registry between app and test containersDavid Lönnhager1-6/+13
2024-04-25Update windows-sysJoakim Hulthe2-585/+587
2024-04-23Upgrade rustls to avoid RUSTSEC-2024-0336Linus Färnstrand1-14/+35
2024-04-22Limit execution of `test_installation_idempotency`Markus Pettersson1-22/+30
2024-04-19Add gui test to test frameworkOskar Nyberg1-7/+67
2024-04-19Add ensure_logged_in test helper functionOskar Nyberg1-0/+15
2024-04-17Remove dummy interfacesDavid Lönnhager3-70/+3
2024-04-17Prevent ARP lookups during LAN testsDavid Lönnhager3-60/+48
2024-04-17Run nightly formatter for testsDavid Lönnhager1-2/+2
2024-04-15Add Zlib to allowed licencesOskar Nyberg1-1/+2
2024-04-12Reset daemon environment when neededMarkus Pettersson6-35/+256
2024-04-12Upgrade `pcap` to `1.3`Markus Pettersson2-3/+4
This fixes type checking of `pcap` functions on Windows. Without it, type checking of the ``test-runner` crate from a Linux host to a Windows target would not work.
2024-04-12Do not panic in DNS testsMarkus Pettersson1-16/+23
Avoid panicking in more tests - prefer to propagate an error value instead.
2024-04-12Get rid of type casting for test function argumentMarkus Pettersson4-31/+27
Replace the `Box<dyn Any>` type for the third test function argument 'mullvad client' - replace it with a dedicated enum type `MullvadClientArgument`. This change got rid of the type casting from `Box<dyn Any>` to `MullvadProxyClient` done in the `test_function` macro.
2024-04-12Fix SOCKS5 server should accept all trafficMarkus Pettersson1-4/+4
Specify that the `Authentication` should be 'Accept all traffic' by default for the SOCKS5-server we spawn on the test manager. Otherwise, the default is to 'Deny all traffic' by default.
2024-04-12Refactor custom access method integration testsMarkus Pettersson1-44/+50
Break out the Shadowsocks and SOCKS5 custom access method tests into seperate tests. The intent is to increase logging granularity.
2024-04-12Add ClearCustomLists RPC callJoakim Hulthe1-6/+5
2024-04-12Add ClearCustomApiAccessMethods rpc callJoakim Hulthe1-0/+11
2024-04-12Make sure we clear all settings between e2e testsJoakim Hulthe1-13/+50
2024-04-11Fix wireguard rotation testSebastian Holmin1-20/+39
The test was flaky because if a race condition which made the key rotation missable.
2024-04-10Add list-tests command to test-managerJoakim Hulthe1-0/+14
2024-04-10Sort desktop e2e result matrix by priorityJoakim Hulthe3-7/+12
2024-04-09Make payload of connection checker configurableMarkus Pettersson4-19/+38
2024-04-09Implement test for audit ticket `MUL-02-002 WP2`Markus Pettersson7-82/+166
2024-04-09Move `ConnChecker` to `helpers.rs`Markus Pettersson2-304/+313
2024-04-09Run `cargo +nightly fmt`Sebastian Holmin22-166/+136
2024-04-08Print detected tested guest OS versionDavid Lönnhager2-0/+23
2024-04-08Add get_os_version RPCDavid Lönnhager5-0/+68
2024-04-08Print error cause on test vm config parse failJoakim Hulthe1-1/+1
2024-04-08Add timeout to tester geoip rcp callJoakim Hulthe3-9/+23
2024-04-08Add ip override test for wireguardJoakim Hulthe2-0/+450
2024-04-04Add macros for implementing `Intersection` traitSebastian Holmin1-0/+11
2024-04-04Upgrade h2 to non-vulnerable version RUSTSEC-2024-0332Linus Färnstrand1-2/+2
2024-04-03Enable single-use-lifetimes rustc lintLinus Färnstrand1-0/+1
Removes superfluous lifetime definitions. Simplifying the code
2024-04-02Enable more of the Allowed-by-default lints in rustcLinus Färnstrand1-1/+9
* macro_use_extern_crate - Forbid #[macro_use] to bring macros into global scope. Even using `extern crate` is deprecated by now, so just extra protection against that * explicit_outlives_requirements - Warn aginst explicit lifetime bounds that can be inferred from the code. Keeps noise away. * absolute_paths_not_starting_with_crate - Catches Rust 2015 style absolute paths and denies them. * missing_abi - Force explicitly stating the ABI of `extern` items. Less implicit code * unused_lifetimes - Warn if you have lifetimes that are not used. Same reason as warning against unused variables * unused_macro_rules - Warn if you have a declarative macro with a rule that is never used. Basically same reason as warning on unused variables. Removes dead code
2024-04-02Deny non-ascii Rust identifiersLinus Färnstrand1-0/+5
Prevents some cases of supply chain attacks where code is made to look like one thing, but does something else
2024-03-27Refactor `mullvad-relay-selector`Markus Pettersson5-32/+44
Implement a system built on 'queries' for selecting appropriate relays. A query is a set of constraints which dictates which relay(s) that *can* be chosen by the relay selector. The user's settings can naturally be expressed as a query. The semantics of merging two queries in a way that always prefer user settings is defined by the new `Intersection` trait. Split `mullvad-relay-selector` into several modules: - `query.rs`: Definition of a query on different types of relays. This module is integral to the new API of `mullvad-relay-selector` - `matcher.rs`: Logic for filtering out candidate relays based on a query. - `detailer.rs`: Logic for deriving connection details for the selected relay. - `tests/`: Integration tests for the new relay selector. These tests only use the public APIs of `RelaySelector` and make sure that the output matches the expected output in different scenarios.
2024-03-26Update [deny] section of the deny.toml filesLinus Färnstrand1-4/+0
2024-03-26Update [advisories] section of our deny.toml files to version 2Linus Färnstrand1-5/+1