- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for testCases (0.27 sec)
-
pkg/controller/statefulset/stateful_set_utils_test.go
}, schema: podKind, shouldMatch: false, }, } for _, tc := range testCases { got := matchesRef(&tc.ref, &tc.obj, tc.schema) if got != tc.shouldMatch { t.Errorf("Failed %s: got %t, expected %t", tc.name, got, tc.shouldMatch) } } } func TestIsClaimOwnerUpToDate(t *testing.T) { testCases := []struct { name string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 50.9K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0) -
tests/integration/ambient/baseline_test.go
return true } if from.Config().HasSidecar() && opts.To.Config().HasSidecar() { return true } return false } _ = Never _ = SameNetwork testCases := []reachability.TestCase{ { ConfigFile: "beta-mtls-on.yaml", Namespace: systemNM, Include: Always, ExpectSuccess: SupportsHBone,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager_test.go
}, } for _, testCase := range testCases { allocDevices, err := testManager.devicesToAllocate(testCase.podUID, testCase.contName, testCase.resource, testCase.required, testCase.reusableDevices) if !reflect.DeepEqual(err, testCase.expErr) { t.Errorf("devicePluginManager error (%v). expected error: %v but got: %v", testCase.description, testCase.expErr, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/fit_test.go
}, InitContainers: []v1.Container{ { Name: "restartable-init", RestartPolicy: &restartPolicyAlways, }, }, }, } } testCases := []struct { name string pod *v1.Pod enableSidecarContainers bool wantPreFilterStatus *framework.Status }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 57.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go
featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.ConsistentListFromCache, false) testCases := append(commonTestCases, testCase{opts: storage.ListOptions{ResourceVersion: ""}, expectBypass: true}, ) for _, tc := range testCases { testGetListCacheBypass(t, tc.opts, tc.expectBypass) } }) t.Run("ConsistentListFromCache", func(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 82.9K bytes - Viewed (0) -
pkg/kubelet/pod_workers_test.go
t.Errorf("Incorrect number of tracked statuses: %#v", podWorkers.podSyncStatuses) } } func Test_removeTerminatedWorker(t *testing.T) { podUID := types.UID("pod-uid") testCases := []struct { desc string orphan bool podSyncStatus *podSyncStatus startedStaticPodsByFullname map[string]types.UID
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 75.6K bytes - Viewed (0) -
cmd/sts-handlers_test.go
// Init and run test on ErasureSet backend. {serverType: "ErasureSet", signer: signerV4}, } testCases := []*TestSuiteIAM{} for _, bt := range baseTestCases { testCases = append(testCases, newTestSuiteIAM(bt, false), newTestSuiteIAM(bt, true), ) } for i, testCase := range testCases { etcdStr := "" if testCase.withEtcdBackend { etcdStr = " (with etcd backend)" } t.Run(
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 18:45:50 UTC 2024 - 90K bytes - Viewed (0) -
cmd/erasure-healing_test.go
// Add new cases as seen } for _, testCase := range testCases { testCase := testCase t.Run(testCase.name, func(t *testing.T) { gotMeta, dangling := isObjectDangling(testCase.metaArr, testCase.errs, testCase.dataErrs) if !gotMeta.Equals(testCase.expectedMeta) { t.Errorf("Expected %#v, got %#v", testCase.expectedMeta, gotMeta) } if dangling != testCase.expectedDangling {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 49K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_test.go
}, { Port: &networking.SidecarPort{ Number: 15001, Protocol: "HTTP", Name: "http", }, Hosts: []string{"*/*"}, }, }, }, } testcases := []struct { name string services []*model.Service sidecar *config.Config expectedListener []int }{ {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 93.6K bytes - Viewed (0)