- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestNewServer (0.14 sec)
-
pilot/pkg/bootstrap/server_test.go
// Validate that istiod cert is updated. g.Eventually(func() bool { return checkCert(t, s, testcerts.RotatedCert, testcerts.RotatedKey) }, "10s", "100ms").Should(BeTrue()) } func TestNewServer(t *testing.T) { // All of the settings to apply and verify. Currently just testing domain suffix, // but we should expand this list. cases := []struct { name string domain string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 23.1K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server_test.go
w.Write([]byte("welcome, it works")) case "status": code, _ := strconv.Atoi(segments[1]) w.Header().Set("Location", "/") w.WriteHeader(code) default: return } } func TestNewServer(t *testing.T) { testCases := []struct { probe string err string }{ // Json can't be parsed. { probe: "invalid-prober-json-encoding", err: "failed to decode", },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 42.6K bytes - Viewed (0)