- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 180 for _Equal (0.26 sec)
-
pkg/apis/flowcontrol/validation/validation_test.go
}, { name: "bad catch-all flow-schema should fail", flowSchema: &flowcontrol.FlowSchema{ ObjectMeta: metav1.ObjectMeta{ Name: flowcontrol.FlowSchemaNameCatchAll, }, Spec: badCatchAll, }, expectedErrors: field.ErrorList{field.Invalid(field.NewPath("spec"), badCatchAll, "spec of 'catch-all' must equal the fixed value")}, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 22:22:51 UTC 2023 - 54.7K bytes - Viewed (0) -
pilot/pkg/model/telemetry_logging_test.go
expected: "[%START_TIME%] %REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\n", }, } for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { got := fileAccessLogFormat(tc.formatString) assert.Equal(t, tc.expected, got) }) } } func TestAccessLogging(t *testing.T) { labels := map[string]string{"app": "test"} sidecar := &Proxy{ ConfigNamespace: "default", Labels: labels,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:30 UTC 2024 - 54K bytes - Viewed (0) -
pkg/apis/autoscaling/validation/validation_test.go
ObjectMeta: metav1.ObjectMeta{ Name: "frontend", Namespace: metav1.NamespaceDefault, }, Spec: autoscaling.ScaleSpec{ Replicas: -1, }, }, msg: "must be greater than or equal to 0", }} for _, c := range errorCases { if errs := ValidateScale(&c.scale); len(errs) == 0 { t.Errorf("expected failure for %s", c.msg) } else if !strings.Contains(errs[0].Error(), c.msg) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 56.7K bytes - Viewed (0) -
pkg/kubelet/nodestatus/setters_test.go
assert.True(t, apiequality.Semantic.DeepEqual(tc.expectNode, tc.node), "Diff: %s", cmp.Diff(tc.expectNode, tc.node)) // check expected events require.Equal(t, len(tc.expectEvents), len(events)) for i := range tc.expectEvents { assert.Equal(t, tc.expectEvents[i], events[i]) } }) } } func TestVersionInfo(t *testing.T) { cases := []struct { desc string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 21:47:24 UTC 2024 - 76.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
createExternalNameService(controller, "svc5", "nsA", []int32{1, 2, 3}, "foo.co", t, fx) converted := controller.Services() assert.Equal(t, len(converted), 1) eps := GetEndpointsForPort(converted[0], controller.Endpoints, 1) assert.Equal(t, len(eps), 0) assert.Equal(t, converted[0].Attributes, model.ServiceAttributes{ ServiceRegistry: "Kubernetes", Name: "svc5",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
} } return result; } /** * Determines whether two iterators contain equal elements in the same order. More specifically, * this method returns {@code true} if {@code iterator1} and {@code iterator2} contain the same * number of elements and every element of {@code iterator1} is equal to the corresponding element * of {@code iterator2}. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 03 14:46:32 UTC 2024 - 50.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterators.java
} } return result; } /** * Determines whether two iterators contain equal elements in the same order. More specifically, * this method returns {@code true} if {@code iterator1} and {@code iterator2} contain the same * number of elements and every element of {@code iterator1} is equal to the corresponding element * of {@code iterator2}. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 03 14:46:32 UTC 2024 - 50.2K bytes - Viewed (0) -
pkg/apis/batch/validation/validation.go
} if spec.Completions != nil && spec.MaxFailedIndexes != nil && *spec.MaxFailedIndexes > *spec.Completions { allErrs = append(allErrs, field.Invalid(fldPath.Child("maxFailedIndexes"), *spec.MaxFailedIndexes, "must be less than or equal to completions")) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 16:43:24 UTC 2024 - 51.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go
}), expectCost: map[string]int64{ "self.objs[0] == self.objs[1]": 7, // equal even though order is different "self.objs[0] + self.objs[2] == self.objs[2]": 11, // rhs overwrites lhs values "self.objs[2] + self.objs[0] == self.objs[0]": 11, "self.objs[0] == [self.objs[0][0], self.objs[0][1]]": 22, // equal against a declared list "self.objs[0] == [self.objs[0][1], self.objs[0][0]]": 22,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:20:16 UTC 2024 - 80.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go
}, }, }, ValidationExtensions: schema.ValidationExtensions{ XValidations: apiextensions.ValidationRules{ { Rule: "self.nestedObj.val == 10", Message: "val should be equal to 10", }, }, }, }, expectedResults: []validationMatcher{ noError(), }, }, { name: "valid nested object of array", input: schema.Structural{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 51.5K bytes - Viewed (0)