- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 104 for expectedCert (0.15 sec)
-
pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates_test.go
expectedHint framework.QueueingHint expectedErr bool }{ "backoff-wrong-old-object": { pod: &v1.Pod{}, oldObj: "not-a-pod", expectedHint: framework.Queue, expectedErr: true, }, "backoff-wrong-new-object": { pod: &v1.Pod{}, newObj: "not-a-pod", expectedHint: framework.Queue, expectedErr: true, }, "skip-queue-on-other-pod-updated": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 3.7K bytes - Viewed (0) -
pkg/apis/apps/validation/validation_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 111.9K bytes - Viewed (0) -
pkg/controller/daemon/util/daemonset_util_test.go
}, }, }, expectedErr: true, }, { pod: &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "pod4", Namespace: "default", }, Spec: v1.PodSpec{}, }, expectedErr: true, }, } for _, test := range tests { got, err := GetTargetNodeName(test.pod) if test.expectedErr != (err != nil) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/staticpods_test.go
skipKubeConfig string expectedErr bool manifestShouldChange bool }{ { description: "error-free case should succeed", waitErrsToReturn: map[string]error{ waitForHashes: nil, waitForHashChange: nil, waitForPodsWithLabel: nil, }, moveFileFunc: os.Rename, expectedErr: false, manifestShouldChange: true, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 32K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1_test.go
// regular errors return errors but do not retry {name: "404 doesnt retry", attr: aliceAttr, allow: false, statusCode: 404, expectedErr: true, expectedAuthorized: false, expectedCalls: 1}, {name: "403 doesnt retry", attr: aliceAttr, allow: false, statusCode: 403, expectedErr: true, expectedAuthorized: false, expectedCalls: 1},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 43.2K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/common_test.go
allowDeprecated bool allowExperimental bool expectedErr bool }{ { gv: schema.GroupVersion{ Group: KubeadmGroupName, Version: "v1alpha1", }, expectedErr: true, }, { gv: schema.GroupVersion{ Group: KubeadmGroupName, Version: "v1alpha2", }, expectedErr: true, }, { gv: schema.GroupVersion{ Group: KubeadmGroupName,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 23.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/DefaultCommandLineActionFactoryTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 11.6K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go
testcases := map[string]struct { pod *v1.Pod oldObj, newObj interface{} expectedHint framework.QueueingHint expectedErr bool }{ "backoff-wrong-new-object": { pod: &v1.Pod{}, newObj: "not-a-pod", expectedHint: framework.Queue, expectedErr: true, }, "backoff-wrong-old-object": { pod: &v1.Pod{}, oldObj: "not-a-pod",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 17.5K bytes - Viewed (0) -
pkg/registry/core/pod/strategy_test.go
pod: "not a pod object", expectedValue: "test-pod", expectedErr: fmt.Errorf("not a pod"), }, } for _, tc := range tcs { indexValues, err := tc.indexFunc(tc.pod) if !reflect.DeepEqual(err, tc.expectedErr) { t.Errorf("name %v, expected %v, got %v", tc.name, tc.expectedErr, err) } if err == nil && len(indexValues) != 1 && indexValues[0] != tc.expectedValue {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 76.2K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_sandbox_linux_test.go
pod: newSupplementalGroupsPolicyPod(&supplementalGroupsPolicyUnSupported), expectedErr: true, expectedErrMsg: "unsupported supplementalGroupsPolicy: UnSupported", }, } for i, test := range tests { config, err := m.generatePodSandboxLinuxConfig(test.pod) if test.expectedErr { assert.NotEmptyf(t, err, "TestCase[%d]: %s", i, test.description)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 8K bytes - Viewed (0)