fix: update tailscale to improve block endpoints functionality (#17496)

Direct endpoints from the peer will no longer be processed.
This commit is contained in:
Dean Sheather
2025-04-22 19:32:21 +10:00
committed by GitHub
parent afb175d9ee
commit d566008087
3 changed files with 12 additions and 3 deletions
@@ -12,6 +12,7 @@ import (
"net/http"
"net/url"
"os"
"os/exec"
"os/signal"
"path/filepath"
"runtime"
@@ -156,6 +157,14 @@ func TestIntegration(t *testing.T) {
// isolated NetNS.
t.Parallel()
// Fail early if NGINX is not installed in tests that require it.
if _, ok := topo.Server.(integration.NGINXServerOptions); ok {
_, err := exec.LookPath("nginx")
if err != nil {
t.Fatalf("could not find nginx in PATH: %v", err)
}
}
log := testutil.Logger(t)
networking := topo.SetupNetworking(t, log)