- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 113 for fakePod (0.29 sec)
-
pkg/scheduler/framework/plugins/nodeports/node_ports_test.go
oldObj: st.MakePod().Obj(), expectedHint: framework.QueueSkip, }, "skip-queue-on-non-hostport": { pod: podWithHostPort.Obj(), oldObj: st.MakePod().Node("fake-node").Obj(), expectedHint: framework.QueueSkip, }, "skip-queue-on-unrelated-hostport": { pod: podWithHostPort.Obj(), oldObj: st.MakePod().Node("fake-node").HostPort(8081).Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 19 11:02:11 UTC 2023 - 10.1K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
st.MakeNode().Name("node3").UID("node3").Obj(), } pods := []*v1.Pod{ st.MakePod().Name("pod1").UID("pod1").SchedulerName("match-node3").Obj(), st.MakePod().Name("pod2").UID("pod2").SchedulerName("match-node2").Obj(), st.MakePod().Name("pod3").UID("pod3").SchedulerName("match-node2").Obj(), st.MakePod().Name("pod4").UID("pod4").SchedulerName("match-node3").Obj(), } wantBindings := map[string]string{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
pkg/kubelet/nodeshutdown/systemd/inhibit_linux_test.go
assert.Equal(t, thirtySeconds, delay) } func TestInhibitShutdown(t *testing.T) { var fakeFd uint32 = 42 bus := DBusCon{ SystemBus: &fakeSystemDBus{ fakeDBusObject: &fakeDBusObject{ bodyValue: fakeFd, }, }, } fdLock, err := bus.InhibitShutdown() assert.Equal(t, InhibitLock(fakeFd), fdLock) assert.NoError(t, err) } func TestReloadLogindConf(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 29 19:50:06 UTC 2023 - 4.4K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/pods_test.go
}, { name: "partial pods matching quotaScopeSelector - w/ multiple scopeNames specified", objs: []runtime.Object{ makePod("p1", "high-priority", cpu1, api.PodRunning), makePod("p2", "high-priority", cpu1, api.PodSucceeded), makePod("p3", "low-priority", cpu1, api.PodRunning), makePod("p4", "high-priority", nil, api.PodFailed), }, quotaScopes: []corev1.ResourceQuotaScope{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.6K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodename/node_name_test.go
wantStatus *framework.Status }{ { pod: &v1.Pod{}, node: &v1.Node{}, name: "no host specified", }, { pod: st.MakePod().Node("foo").Obj(), node: st.MakeNode().Name("foo").Obj(), name: "host matches", }, { pod: st.MakePod().Node("bar").Obj(), node: st.MakeNode().Name("foo").Obj(), name: "host doesn't match",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 20 09:49:54 UTC 2023 - 1.8K bytes - Viewed (0) -
pkg/volume/csi/testing/testing.go
t.Fatalf("can't create temp dir: %v", err) } if client == nil { client = fakeclient.NewSimpleClientset() } client.Tracker().Add(&v1.Node{ ObjectMeta: metav1.ObjectMeta{ Name: "fakeNode", }, Spec: v1.NodeSpec{}, }) // Start informer for CSIDrivers. factory := informers.NewSharedInformerFactory(client, csi.CsiResyncPeriod) csiDriverInformer := factory.Storage().V1().CSIDrivers()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 07 00:11:50 UTC 2021 - 2.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 11.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go
{Type: watch.Added, Object: makePod(1)}, {Type: watch.Added, Object: makePod(2)}, {Type: watch.Added, Object: makePod(5)}, {Type: watch.Bookmark, Object: &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ ResourceVersion: "10", Annotations: map[string]string{metav1.InitialEventsAnnotationKey: "true"}, }, }}, {Type: watch.Added, Object: makePod(15)}, }, true)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 22.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceregistry_test.go
_, kube, xdsUpdater := setupTest(t) makeService(t, kube, service) xdsUpdater.WaitOrFail(t, "service") makePod(t, kube, pod) xdsUpdater.WaitOrFail(t, "proxy") newPod := pod.DeepCopy() newPod.Labels["newlabel"] = "new" makePod(t, kube, newPod) xdsUpdater.WaitOrFail(t, "proxy") }) t.Run("Kubernetes only: headless pure HTTP service", func(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 51.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/gotoolchain_path.txt
[short] skip env TESTGO_VERSION=go1.21pre3 # Compile a fake toolchain to put in the path under various names. env GOTOOLCHAIN= mkdir $WORK/bin go build -o $WORK/bin/go1.50.0$GOEXE ./fakego.go # adds .exe extension implicitly on Windows [!GOOS:plan9] env PATH=$WORK/bin [GOOS:plan9] env path=$WORK/bin go version stdout go1.21pre3 # GOTOOLCHAIN=go1.50.0 env GOTOOLCHAIN=go1.50.0 ! go version
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 06 22:21:42 UTC 2024 - 1.9K bytes - Viewed (0)