- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for expectedProd (0.13 sec)
-
pilot/pkg/config/kube/crdclient/client_test.go
} // prod revision should receive only global objects and objects with the prod revision if selectedLabels == nil || reflect.DeepEqual(selectedLabels, labels[2]) { expectedProd = append(expectedProd, TranslateObject(obj, gvk.ServiceEntry, "")) } // no revision should receive all objects expectedNoRevision = append(expectedNoRevision, TranslateObject(obj, gvk.ServiceEntry, "")) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 02:58:52 UTC 2024 - 14.1K bytes - Viewed (0) -
plugin/pkg/admission/defaulttolerationseconds/admission_test.go
tests := []struct { description string requestedPod api.Pod expectedPod api.Pod }{ { description: "pod has no tolerations, expect add tolerations for `not-ready:NoExecute` and `unreachable:NoExecute`", requestedPod: api.Pod{ Spec: api.PodSpec{}, }, expectedPod: api.Pod{ Spec: api.PodSpec{ Tolerations: []api.Toleration{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 06 04:56:21 UTC 2019 - 8.8K bytes - Viewed (0) -
plugin/pkg/admission/extendedresourcetoleration/admission_test.go
}, }, } tests := []struct { description string requestedPod core.Pod expectedPod core.Pod }{ { description: "empty pod without any extended resources, expect no change in tolerations", requestedPod: core.Pod{ Spec: core.PodSpec{}, }, expectedPod: core.Pod{ Spec: core.PodSpec{}, }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 20 15:11:00 UTC 2019 - 10.3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy_test.go
oldCRD *apiextensions.CustomResourceDefinition expectedCRD *apiextensions.CustomResourceDefinition }{ { name: "Ratcheting, For creation, FG disabled, no OptionalOldSelf, no field drop", enableRatcheting: false, crd: &apiextensions.CustomResourceDefinition{}, oldCRD: nil, expectedCRD: &apiextensions.CustomResourceDefinition{}, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 44.6K bytes - Viewed (0) -
plugin/pkg/admission/runtimeclass/admission_test.go
} func TestSetOverhead(t *testing.T) { tests := []struct { name string runtimeClass *nodev1.RuntimeClass pod *core.Pod expectError bool expectedPod *core.Pod }{ { name: "overhead, no container requirements", runtimeClass: &nodev1.RuntimeClass{ ObjectMeta: metav1.ObjectMeta{Name: "foo"}, Handler: "bar", Overhead: &nodev1.Overhead{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 17 01:30:14 UTC 2022 - 17.5K bytes - Viewed (0) -
src/crypto/tls/conn_test.go
padding255Bad[i] = 255 padding255Good[i] = 255 } for i, test := range paddingTests { paddingLen, good := extractPadding(test.in) expectedGood := byte(255) if !test.good { expectedGood = 0 } if good != expectedGood { t.Errorf("#%d: wrong validity, want:%d got:%d", i, expectedGood, good) } if good == 255 && len(test.in)-paddingLen != test.expectedLen {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 21:35:01 UTC 2023 - 10.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go
setTcPod(tc.updatePod, name, namespace, uid, "2", examplev1.SchemeGroupVersion.String(), nil, "anywhere") tc.expectedPod.Name = name tc.expectedPod.Namespace = namespace tc.expectedPod.UID = uid tc.expectedPod.ResourceVersion = "2" tc.expectedPod.APIVersion = examplev1.SchemeGroupVersion.String() tc.expectedPod.Spec.NodeName = "there" tc.Run(t) } func TestPatchWithAdmissionRejection(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 41.8K bytes - Viewed (0) -
pkg/kubelet/lifecycle/predicate_test.go
desc string pod *v1.Pod node *v1.Node expectedPod *v1.Pod }{ { desc: "requests in Limits should be ignored", pod: makeTestPod( v1.ResourceList{}, // Requests v1.ResourceList{"foo.com/bar": quantity}, // Limits ), node: makeTestNode( v1.ResourceList{"foo.com/baz": quantity}, // Allocatable ), expectedPod: makeTestPod(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 23:13:50 UTC 2024 - 14.2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue1435.go
break } } return fmt.Errorf("%q got:%q want:%q (bad) [pid=%d file:'%s' %v]\n", tf, line, expected, pid, string(d), expectedProc) } } } if !foundAThread { return fmt.Errorf("found no thread /proc/<TID>/status files for process %q", expectedProc) } return nil } // test1435 test 9 glibc implemented setuid/gid syscall functions are
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 28 21:31:41 UTC 2023 - 7.5K bytes - Viewed (0) -
cmd/kubeadm/app/util/staticpod/utils_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 12 15:44:44 UTC 2023 - 22.6K bytes - Viewed (0)