- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for testpass (0.18 sec)
-
pkg/kubelet/eviction/helpers_test.go
}, } for testName, testCase := range testCases { thresholds, err := ParseThresholdConfig(testCase.allocatableConfig, testCase.evictionHard, testCase.evictionSoft, testCase.evictionSoftGracePeriod, testCase.evictionMinReclaim) if testCase.expectErr != (err != nil) { t.Errorf("Err not as expected, test: %v, error expected: %v, actual: %v", testName, testCase.expectErr, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 106.7K bytes - Viewed (0) -
cmd/object-handlers_test.go
getPutObjectURL("", testCase.bucketName, testCase.objectName), int64(testCase.dataLen), testCase.chunkSize, bytes.NewReader(testCase.data), testCase.accessKey, testCase.secretKey) case testCase.contentEncoding == "": req, err = newTestStreamingSignedRequest(http.MethodPut, getPutObjectURL("", testCase.bucketName, testCase.objectName), int64(testCase.dataLen), testCase.chunkSize, bytes.NewReader(testCase.data),
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 161.9K bytes - Viewed (0) -
pkg/proxy/nftables/proxier_test.go
}, }, }, } for _, testcase := range testcases { t.Run(testcase.name, func(t *testing.T) { nft, fp := NewFakeProxier(v1.IPv4Protocol) fp.OnServiceSynced() fp.OnEndpointSlicesSynced() fp.OnServiceAdd(service) fp.OnEndpointSliceAdd(testcase.endpointslice) fp.syncProxyRules() runPacketFlowTests(t, testcase.line, nft, testNodeIPs, testcase.flowTests)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 173.5K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_control_test.go
{RecreatesPVCForPendingPod, simpleSetFn}, } for _, testCase := range testCases { fnName := runtime.FuncForPC(reflect.ValueOf(testCase.fn).Pointer()).Name() if i := strings.LastIndex(fnName, "."); i != -1 { fnName = fnName[i+1:] } testObj := testCase.obj testFn := testCase.fn runTestOverPVCRetentionPolicies( t, fmt.Sprintf("%s/Monotonic", fnName),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 07 19:01:47 UTC 2024 - 108.7K bytes - Viewed (0) -
pkg/apis/apps/validation/validation_test.go
errs := ValidateStatefulSetUpdate(&testCase.update, &testCase.old, pod.GetValidationOptionsFromPodTemplate(&testCase.update.Spec.Template, &testCase.old.Spec.Template)) wantErrs := testCase.errs if diff := cmp.Diff(wantErrs, errs, cmpOpts...); diff != "" { t.Errorf("Unexpected validation errors (-want,+got):\n%s", diff) } }) } } func TestValidateControllerRevision(t *testing.T) {
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/kubelet/kubelet_pods_test.go
fe00::2 ip6-allrouters 203.0.113.1 podFoo.domainFoo podFoo fd00::6 podFoo.domainFoo podFoo `, }, } for _, testCase := range testCases { actualContent := managedHostsFileContent(testCase.hostIPs, testCase.hostName, testCase.hostDomainName, testCase.hostAliases) assert.Equal(t, testCase.expectedContent, string(actualContent), "hosts file content not expected") } } func TestRunInContainerNoSuchPod(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier_test.go
t.Errorf("Case [%d], unexpected add IPVS virtual server error: %v", i, err) } } if err := proxier.syncService(testCases[i].svcName, testCases[i].newVirtualServer, testCases[i].bindAddr, testCases[i].alreadyBoundAddrs); err != nil { t.Errorf("Case [%d], unexpected sync IPVS virtual server error: %v", i, err) } // check list, err := proxier.ipvs.GetVirtualServers()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 186.8K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_test.go
}, } for _, testCase := range testCases { t.Run(testCase.name, func(t *testing.T) { test.SetForTest(t, &features.VerifyCertAtClient, testCase.verifyCertAtClient) selectTrafficPolicyComponents(testCase.policy) if testCase.policy.Tls.CaCertificates != testCase.expectedCARootPath { t.Errorf("%v got %v when expecting %v", testCase.name, testCase.policy.Tls.CaCertificates, testCase.expectedCARootPath)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 108.8K bytes - Viewed (0) -
cmd/server_test.go
{serverType: "ErasureSet", signer: signerV4}, } globalServerCtxt.StrictS3Compat = true for i, testCase := range testCases { t.Run(fmt.Sprintf("Test: %d, ServerType: %s", i+1, testCase.serverType), func(t *testing.T) { runAllTests(testCase, &check{t, testCase.serverType}) }) } } // Setting up the test suite. // Starting the Test server with temporary backend.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 115.3K bytes - Viewed (0) -
pkg/controller/podautoscaler/horizontal_test.go
func TestStoreScaleEvents(t *testing.T) { type TestCase struct { name string key string replicaChange int32 prevScaleEvents []timestampedScaleEvent newScaleEvents []timestampedScaleEvent scalingRules *autoscalingv2.HPAScalingRules expectedReplicasChange int32 } tests := []TestCase{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 199.3K bytes - Viewed (0)