test: isolate endpoint locality fixtures from public DNS

Signed-off-by: Feng Ruohang <rh@vonng.com>
This commit is contained in:
Feng Ruohang
2026-10-25 00:50:41 +08:00
parent 0b1c21cb4b
commit 03fe5e9c21
2 changed files with 27 additions and 0 deletions
+1
View File
@@ -186,6 +186,7 @@ func TestGetAPIEndpoints(t *testing.T) {
}
func TestCheckLocalServerAddr(t *testing.T) {
useTestEndpointDNS(t)
testCases := []struct {
serverAddr string
expectedErr error