- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SetTime (0.15 sec)
-
pkg/kubelet/pod_workers_test.go
func (w *timeIncrementingWorkers) UpdatePod(options UpdatePodOptions, afterFns ...func()) { func() { w.lock.Lock() defer w.lock.Unlock() w.w.UpdatePod(options) w.w.clock.(*clocktesting.FakePassiveClock).SetTime(w.w.clock.Now().Add(time.Second)) for _, fn := range afterFns { fn() } }() w.drainUnpausedWorkers() } // SyncKnownPods increments the clock after SyncKnownPods is called, but before the workers
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 75.6K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go
} maxWaitTime := 1 * time.Second etime, err := asw.SetDetachRequestTime(logger, generatedVolumeName, nodeName) if err != nil { t.Fatalf("SetDetachRequestTime failed. Expected: <no error> Actual: <%v>", err) } if etime >= maxWaitTime { t.Logf("SetDetachRequestTim Expected: <elapsed time %v is smaller than maxWaitTime %v> Actual <elapsed time is larger than maxWaitTime>", etime, maxWaitTime) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 07:35:17 UTC 2024 - 66.1K bytes - Viewed (0) -
src/syscall/zerrors_solaris_amd64.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:52:34 UTC 2024 - 50.8K bytes - Viewed (0)