Commit Graph

4 Commits (17d760773033537d5545bc97909005f3682d413c)

Author SHA1 Message Date
Claude 7876ca0815
Add final tests for k8s-operator, winutil, and remaining packages
Completes test coverage for:

Kubernetes Operator (2):
- k8s-operator/apis: API definitions tests
- k8s-operator/apis/v1alpha1: v1alpha1 API version tests

Windows Utilities (2):
- wgengine/winnet: Windows networking tests
- util/winutil/winenv: Windows environment tests

System & Policy:
- util/syspolicy/internal: Internal policy tests

Testing Infrastructure (2):
- tstest/nettest: Network testing helpers
- appc/appctest: App connector test helpers

DERP:
- derp/xdp/headers: XDP header definitions

This brings test coverage to maximum achievable level.
2 months ago
Brad Fitzpatrick c6af5bbfe8 all: add test for package comments, fix, add comments as needed
Updates #cleanup

Change-Id: Ic4304e909d2131a95a38b26911f49e7b1729aaef
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
James Tucker 0e2cb76abe appc: add test to ensure that individual IPs are not removed during route updates
If control advised the connector to advertise a route that had already
been discovered by DNS it would be incorrectly removed. Now those routes
are preserved.

Updates tailscale/corp#16833

Signed-off-by: James Tucker <james@tailscale.com>
2 years ago
Charlotte Brandhorst-Satzkorn ce4553b988 appc,ipn/ipnlocal: optimize preference adjustments when routes update
This change allows us to perform batch modification for new route
advertisements and route removals. Additionally, we now handle the case
where newly added routes are covered by existing ranges.

This change also introduces a new appctest package that contains some
shared functions used for testing.

Updates tailscale/corp#16833

Signed-off-by: Charlotte Brandhorst-Satzkorn <charlotte@tailscale.com>
2 years ago