- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 103 for Cases (0.11 sec)
-
pilot/pkg/networking/core/cluster_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 108.8K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_builder_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 110.4K bytes - Viewed (0) -
tests/integration/pilot/common/routing.go
var cases []TrafficTestCase gatewayListenPort := 80 gatewayListenPortName := "tcp" destinationSets := []echo.Instances{ apps.A, } for _, d := range destinationSets { d := d if len(d) == 0 { continue } fqdn := d[0].Config().ClusterLocalFQDN() cases = append(cases, TrafficTestCase{ name: d[0].Config().Service,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 21:52:51 UTC 2024 - 135.9K bytes - Viewed (0) -
pkg/registry/batch/job/strategy_test.go
}, }, } updatedSuccessPolicy := &batch.SuccessPolicy{ Rules: []batch.SuccessPolicyRule{ { SucceededIndexes: ptr.To("1,3-7"), SucceededCount: ptr.To[int32](5), }, }, } cases := map[string]struct { enableJobPodFailurePolicy bool enableJobBackoffLimitPerIndex bool enableJobPodReplacementPolicy bool enableJobSuccessPolicy bool job batch.Job
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 101.5K bytes - Viewed (0) -
src/reflect/all_test.go
cas.canSelect = true numCanSelect++ } // Permute cases and case info. // Doing too much here makes the exhaustive loop // too exhausting, so just do two swaps. for loop := 0; loop < 2; loop++ { i := x.Choose(len(cases)) j := x.Choose(len(cases)) cases[i], cases[j] = cases[j], cases[i] info[i], info[j] = info[j], info[i] } if helper != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
pkg/config/validation/validation_test.go
}, }, valid: false, }, } for _, c := range cases { if got := validateTrafficPolicy(c.in).Err; (got == nil) != c.valid { t.Errorf("ValidateTrafficPolicy failed on %v: got valid=%v but wanted valid=%v: %v", c.name, got == nil, c.valid, got) } } } func TestValidateConnectionPool(t *testing.T) { cases := []struct { name string in *networking.ConnectionPoolSettings
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 03:11:45 UTC 2024 - 196K bytes - Viewed (0) -
pkg/kubelet/kubelet_node_status_test.go
} func TestUpdateNewNodeStatus(t *testing.T) { cases := []struct { desc string nodeStatusMaxImages int32 }{ { desc: "5 image limit", nodeStatusMaxImages: 5, }, { desc: "no image limit", nodeStatusMaxImages: -1, }, } for _, tc := range cases { t.Run(tc.desc, func(t *testing.T) { ctx := context.Background()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 19:23:19 UTC 2024 - 115.8K bytes - Viewed (0) -
cmd/object-handlers_test.go
objectInputs := []ObjectInput{ // // cases 0-3: small single part objects {"nothing", []int64{0}, make(map[string]string)}, {"small-0", []int64{11}, make(map[string]string)}, {"small-1", []int64{509}, make(map[string]string)}, {"small-2", []int64{5 * oneMiB}, make(map[string]string)}, // // // cases 4-7: multipart part objects {"mp-0", []int64{5 * oneMiB, 1}, make(map[string]string)},
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 161.9K bytes - Viewed (0) -
src/reflect/value.go
// (as opposed to a zero value received because the channel is closed). // Select supports a maximum of 65536 cases. func Select(cases []SelectCase) (chosen int, recv Value, recvOK bool) { if len(cases) > 65536 { panic("reflect.Select: too many cases (max 65536)") } // NOTE: Do not trust that caller is not modifying cases data underfoot. // The range is safe because the caller cannot modify our copy of the len
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
pilot/pkg/networking/core/gateway_test.go
Host: "example.org", Port: &networking.PortSelector{ Number: 80, }, }, }, }, }, }, }, } cases := []struct { name string virtualServices []config.Config gateways []config.Config routeName string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 144K bytes - Viewed (0)