- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestRealEventClock (0.25 sec)
-
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/eventclock/real_event_clock_test.go
See the License for the specific language governing permissions and limitations under the License. */ package eventclock import ( "math/rand" "sync/atomic" "testing" "time" ) func TestRealEventClock(t *testing.T) { ec := Real{} var numDone int32 now := ec.Now() const batchSize = 100 times := make(chan time.Time, batchSize+1) try := func(abs bool, d time.Duration) { f := func(u time.Time) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Aug 07 04:07:31 UTC 2021 - 1.6K bytes - Viewed (0)