- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for expectedHosts (0.26 sec)
-
pilot/pkg/networking/core/httproute_test.go
if expectedRoutes == 0 { expectedRoutes = len(expectedHosts) } numberOfRoutes := 0 for _, vhost := range routeCfg.VirtualHosts { numberOfRoutes += len(vhost.Routes) if _, found := expectedHosts[vhost.Name]; !found { t.Fatalf("unexpected vhost block %s for route %s", vhost.Name, routeName) } for _, domain := range vhost.Domains { if !expectedHosts[vhost.Name][domain] {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 51.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go
// and checks that the resulting equals the expectedCost if expectedCost is non-zero, and that the resulting cost is >= expectedCostExceedsLimit // if expectedCostExceedsLimit is non-zero. Typically, only expectedCost or expectedCostExceedsLimit is non-zero, not both. func schemaChecker(schema *schema.Structural, expectedCost uint64, expectedCostExceedsLimit uint64, t *testing.T) func(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 51.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go
}, }, } for _, tt := range cases { tt := tt t.Run(tt.name, func(t *testing.T) { t.Parallel() for validRule, expectedCost := range tt.expectCost { validRule := validRule expectedCost := expectedCost testName := validRule if len(testName) > 127 { testName = testName[:127] } t.Run(testName, func(t *testing.T) { t.Parallel()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:20:16 UTC 2024 - 80.2K bytes - Viewed (0)