- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 535 for testCases (0.15 sec)
-
pkg/scheduler/framework/plugins/interpodaffinity/plugin_test.go
t.Errorf("expected QueuingHint doesn't match (-want,+got): \n %s", diff) } }) } } func Test_isSchedulableAfterNodeChange(t *testing.T) { testcases := []struct { name string pod *v1.Pod oldNode, newNode *v1.Node expectedHint framework.QueueingHint }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 12 03:08:44 UTC 2024 - 9.7K 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) -
tests/integration/security/egress_sidecar_tls_origination_test.go
}, false, apps.Ns2.Namespace.Name()) // Set up Host Namespace host := apps.External.All.Config().ClusterLocalFQDN() testCases := []struct { name string credentialToUse string from echo.Instances authorizeSidecar bool drSelector string expectedResponse ingressutil.ExpectedResponse }{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 10.4K bytes - Viewed (0) -
src/net/dial_test.go
const fallbackDelay = 200 * time.Millisecond nCopies := func(s string, n int) []string { out := make([]string, n) for i := 0; i < n; i++ { out[i] = s } return out } var testCases = []struct { primaries []string fallbacks []string teardownNetwork string expectOk bool expectElapsed time.Duration }{ // These should just work on the first try.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 30.3K bytes - Viewed (0) -
pkg/controller/disruption/disruption_test.go
} ps.VerifyPdbStatus(t, pdbName, disruptionsAllowed, pods, replicas-maxUnavailable, replicas, map[string]metav1.Time{}) } func TestScaleFinderNoResource(t *testing.T) { resourceName := "customresources" testCases := map[string]struct { apiResources []metav1.APIResource expectError bool }{ "resource implements scale": { apiResources: []metav1.APIResource{ { Kind: customGVK.Kind,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 50K bytes - Viewed (0) -
tests/integration/pilot/tunneling_test.go
}, } var requestsSpec = []testRequestSpec{ { protocol: protocol.HTTP, port: ports.TCPForHTTP, }, { protocol: protocol.HTTPS, port: ports.HTTPS, }, } var testCases = []tunnelingTestCase{ { configDir: "sidecar", }, { configDir: "gateway/tcp", }, { configDir: "gateway/tls/istio-mutual", }, { configDir: "gateway/tls/passthrough", }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 10.4K bytes - Viewed (0) -
cmd/format-erasure_test.go
}{ Version: "0", }, }, false, }, } // Valid all test cases. for i, testCase := range testCases { if err := checkFormatErasureValue(testCase.format, nil); err != nil && testCase.success { t.Errorf("Test %d: Expected failure %s", i+1, err) } } } // Tests getFormatErasureInQuorum()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Apr 15 08:25:46 UTC 2024 - 12.9K 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/controller/endpoint/endpoints_controller_test.go
} endpointsHandler.ValidateRequestCount(t, 0) } func TestSyncServiceExternalNameType(t *testing.T) { serviceName := "testing-1" namespace := metav1.NamespaceDefault testCases := []struct { desc string service *v1.Service }{ { desc: "External name with selector and ports should not receive endpoints", service: &v1.Service{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 87.7K 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)