- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 532 for testCases (0.24 sec)
-
pkg/dns/client/dns_test.go
} } }) for _, tc := range testCases { matched := sets.New[string]() for key := range nt.Table { if strings.HasPrefix(key, tc.startsWith) { matched.Insert(key) } } if !matched.Equals(tc.expected) { t.Errorf("expected records %v, got: %v", tc.expected, matched) } } } func testDNS(t *testing.T, d *LocalDNSServer) { testCases := []struct { name string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 16:17:34 UTC 2024 - 20.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute3StaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
if pod.Annotations == nil { pod.Annotations = make(map[string]string) } pod.Annotations[key] = "true" } mile := func(s string) { milestones = append(milestones, s) } testCases := []struct { name string decorator func(runtime.Object) beginCreate BeginCreateFunc afterCreate AfterCreateFunc // the TTLFunc is an easy hook to force a failure
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
pkg/kubelet/eviction/eviction_manager_test.go
func TestPIDPressure_VerifyPodStatus(t *testing.T) { testCases := map[string]struct { wantPodStatus v1.PodStatus }{ "eviction due to pid pressure": { wantPodStatus: v1.PodStatus{ Phase: v1.PodFailed, Reason: "Evicted", Message: "The node was low on resource: pids. Threshold quantity: 1200, available: 500. ", }, }, } for name, tc := range testCases {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 119.9K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/pod_devices_test.go
func TestDeviceRunContainerOptions(t *testing.T) { const ( podUID = "pod" containerName = "container" resource1 = "example1.com/resource1" resource2 = "example2.com/resource2" ) testCases := []struct { description string gate bool responsesPerResource map[string]*pluginapi.ContainerAllocateResponse expected *DeviceRunContainerOptions }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.3K bytes - Viewed (0) -
pkg/registry/batch/cronjob/strategy_test.go
} } func TestCronJobStrategy_WarningsOnCreate(t *testing.T) { ctx := genericapirequest.NewDefaultContext() now := metav1.Now() testcases := map[string]struct { cronjob *batch.CronJob wantWarningsCount int32 }{ "happy path cronjob": { wantWarningsCount: 0, cronjob: &batch.CronJob{ ObjectMeta: metav1.ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 14:34:53 UTC 2024 - 12.2K 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) -
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)