- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 857 for crBlock (0.11 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_progress_test.go
"k8s.io/klog/v2" "k8s.io/klog/v2/ktesting" "k8s.io/utils/clock" testingclock "k8s.io/utils/clock/testing" ) var ( pollPeriod = time.Millisecond minimalNoChange = 20 * time.Millisecond pollTimeout = 5 * time.Second ) func TestConditionalProgressRequester(t *testing.T) { _, ctx := ktesting.NewTestContext(t) logger := klog.FromContext(ctx) clock := testingclock.NewFakeClock(time.Now())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 11:51:06 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/SuiteTestClassProcessor.java
Clock clock) { this.suiteDescriptor = suiteDescriptor; this.processor = processor; this.clock = clock; } @Override public void startProcessing(TestResultProcessor testResultProcessor) { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/processors/TestMainAction.java
this.detector = detector; this.processor = processor; this.resultProcessor = new AttachParentTestResultProcessor(resultProcessor); this.workerLeaseService = workerLeaseService; this.clock = clock; this.rootTestSuiteId = rootTestSuiteId;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/AbstractResourceLockRegistryTest.groovy
when: lock.tryLock() then: registry.getResourceLocksByCurrentThread() == [lock] } def "does not get locks associated with other threads"() { when: def lock = registry.getResourceLock("test") inNewThread { registry.getResourceLock("another").tryLock() } and: lock.tryLock() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/buildevents/BuildResultLogger.java
private final DurationFormatter durationFormatter; private final WorkValidationWarningReporter workValidationWarningReporter; private final Clock clock; public BuildResultLogger( StyledTextOutputFactory textOutputFactory, BuildStartedTime buildStartedTime, Clock clock, DurationFormatter durationFormatter, WorkValidationWarningReporter workValidationWarningReporter ) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 08 10:17:53 UTC 2020 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/request_received_time.go
"net/http" "k8s.io/apiserver/pkg/endpoints/request" "k8s.io/utils/clock" ) // WithRequestReceivedTimestamp attaches the ReceivedTimestamp (the time the request reached // the apiserver) to the context. func WithRequestReceivedTimestamp(handler http.Handler) http.Handler { return withRequestReceivedTimestampWithClock(handler, clock.RealClock{}) } // The clock is passed as a parameter, handy for unit testing.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 15 09:52:18 UTC 2021 - 1.3K bytes - Viewed (0) -
pkg/kubelet/token/token_manager_test.go
}, } for _, c := range cases { t.Run(c.name, func(t *testing.T) { clock := testingclock.NewFakeClock(time.Time{}.Add(24 * time.Hour)) mgr := NewManager(nil) mgr.clock = clock mgr.set("key", &authenticationv1.TokenRequest{ Status: authenticationv1.TokenRequestStatus{ ExpirationTimestamp: metav1.Time{Time: mgr.clock.Now().Add(c.relativeExp)}, }, }) mgr.cleanup()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 04 00:16:47 UTC 2022 - 16.2K bytes - Viewed (0) -
platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/MonotonicClockTest.groovy
1 * nanoTime() >> START_NANOS } private Clock clock = new MonotonicClock(timeSource, SYNC_INTERVAL) def "prevents time from going backwards"() { when: setNanos 0 then: clock.currentTime == START_MILLIS + 0 when: setNanos 10 then: clock.currentTime == START_MILLIS + 10 when: setNanos 8
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:20:17 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/LauncherServices.java
if (!requestMetaData.isInteractive()) { return new NonInteractiveUserInputHandler(); } return new DefaultUserInputHandler(outputEventListenerManager.getBroadcaster(), clock, inputReader); } @Provides
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 13:01:53 UTC 2024 - 12.9K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestEventAdapter.java
private final Clock clock; private final Object lock = new Object(); private final Map<Description, TestDescriptorInternal> executing = new HashMap<Description, TestDescriptorInternal>(); private final Set<Description> assumptionFailed = new HashSet<Description>(); public JUnitTestEventAdapter(TestResultProcessor resultProcessor, Clock clock, IdGenerator<?> idGenerator) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 8.6K bytes - Viewed (0)