| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
The IP of the bridge interface was incorrectly
assumed to be constant, but has at some point
changed. This broke the algorithm for finding
the bridge interface.
Replace the algorithm with one based on the
guest IP, which is given by `tart`. As the bridge
IP is no longer constant, we also expose it through
the `TEST_CONFIG`.
|
|
|
|
|
|
|
|
|
|
Avoid panicking in more tests - prefer to propagate an error value
instead.
|
|
|
|
Re-write some code in the test framework to prefer the type safe wrapper
around the Mullvad app gRPC client instead of its auto-generated dito.
`ManagementServiceClient` is automatically generated from the protobuf
definitions found in `management_interface.proto`, and contains some
very crude types. The `MullvadProxyClient` is a type-safe wrapper around
`ManagementServiceClient` which performs conversions & validation of the
data types from the gRPC server (the daemon) to their respective
mappings in the `talpid-*` and `mullvad-*` crates. These types are more
ergonomic to work with, and since we already have the conversions in
place we should prefer those.
|
|
|
|
|
|
|
|
|
|
Co-authored-by: Jonathan <jonathan@mullvad.net>
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
|