- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 82 for testpvc (0.28 sec)
-
src/runtime/pprof/proto_test.go
{Type: "cpu", Unit: "nanoseconds"}, } checkProfile(t, p, 2000*1000, periodType, sampleType, nil, "") } func f1() { f1() } func f2() { f2() } // testPCs returns two PCs and two corresponding memory mappings // to use in test profiles. func testPCs(t *testing.T) (addr1, addr2 uint64, map1, map2 *profile.Mapping) { switch runtime.GOOS { case "linux", "android", "netbsd": // Figure out two addresses from /proc/self/maps.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 23:21:53 UTC 2024 - 17K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager_test.go
testfunc: func(manager *wrappedManagerImpl) { manager.GetTopologyHints(testPod, &testPod.Spec.Containers[0]) }, }, { description: "GetPodTopologyHints data race when update device", count: 10, devices: devs, testfunc: func(manager *wrappedManagerImpl) { manager.GetPodTopologyHints(testPod) }, }, } for _, test := range testCases {
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/podautoscaler/replica_calculator_test.go
}}, container: "", resource: v1.ResourceCPU, expectedRequests: map[string]int64{testPod: 150}, expectedError: nil, }, { name: "calculate requests with special container", pods: []*v1.Pod{{ ObjectMeta: metav1.ObjectMeta{ Name: testPod, Namespace: testNamespace, }, Spec: v1.PodSpec{ Containers: []v1.Container{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Aug 19 03:31:34 UTC 2023 - 68.4K bytes - Viewed (0) -
pkg/kubelet/prober/common_test.go
container := v1.Container{ Name: testContainerName, } pod := v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{container}, RestartPolicy: v1.RestartPolicyNever, }, } pod.Name = "testPod" pod.UID = testPodUID return &pod } func setTestProbe(pod *v1.Pod, probeType probeType, probeSpec v1.Probe) { // All tests rely on the fake exec prober. probeSpec.ProbeHandler = v1.ProbeHandler{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 12 16:57:26 UTC 2023 - 4.3K bytes - Viewed (0) -
src/net/listen_test.go
// is not recommended because it usually relies on // routing stuff for finding out an appropriate // nexthop containing both network and link layer // adjacencies. if ifi == nil || !*testIPv4 { continue } for _, tt := range ipv4MulticastListenerTests { var err error cs := make([]*UDPConn, 2) if cs[0], err = ListenMulticastUDP(tt.net, ifi, tt.gaddr); err != nil { t.Fatal(err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 20.5K bytes - Viewed (0) -
configure.py
# Disable tests with "v1only" tag in "v2" Bazel config, but not in "v1" config write_to_bazelrc('test:v1 --test_tag_filters=%s' % ','.join(test_and_build_filters + test_only_filters)) write_to_bazelrc('test:v1 --build_tag_filters=%s' % ','.join(test_and_build_filters)) write_to_bazelrc( 'test:v2 --test_tag_filters=%s' % ','.join(test_and_build_filters + test_only_filters + ['-v1only']))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 04:32:44 UTC 2024 - 53.8K bytes - Viewed (1) -
pkg/volume/util/util_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.7K bytes - Viewed (0) -
pkg/controller/podgc/gc_controller_test.go
}{ { name: "orphaned pod should have DisruptionTarget condition added before deletion", pod: &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Namespace: "default", Name: "testPod", }, Spec: v1.PodSpec{ NodeName: "deletedNode", }, Status: v1.PodStatus{ Phase: v1.PodRunning, Conditions: []v1.PodCondition{ { Type: v1.PodReady,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 08:16:48 UTC 2024 - 29K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/endpoint_builder_test.go
label.TopologyNetwork.Name: "mynetwork", }, }, } for _, c := range cases { t.Run(c.name, func(t *testing.T) { pod := v1.Pod{} pod.Name = "testpod" pod.Namespace = "testns" pod.Spec.ServiceAccountName = "testsan" pod.Labels = c.podLabels pod.Spec.NodeName = "fake" // All should get this c.expected[labelutil.LabelHostname] = "fake"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 7.8K bytes - Viewed (0) -
src/runtime/pprof/protomem_test.go
"fmt" "internal/profile" "internal/profilerecord" "internal/testenv" "runtime" "slices" "strings" "testing" ) func TestConvertMemProfile(t *testing.T) { addr1, addr2, map1, map2 := testPCs(t) // MemProfileRecord stacks are return PCs, so add one to the // addresses recorded in the "profile". The proto profile // locations are call PCs, so conversion will subtract one
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:45 UTC 2024 - 6.7K bytes - Viewed (0)