- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for withWaitTime (0.11 sec)
-
subprojects/core/src/test/groovy/org/gradle/process/internal/worker/DefaultWorkerProcessSpec.groovy
def acceptor = Mock(ConnectionAcceptor) // Use a shorter wait time before callback is called, so that we don't hit the 1 sec connection timeout def op = concurrent.waitsForAsyncCallback().withWaitTime(200) def startsChildProcessAndBlocksUntilConnectionEstablished() { when: workerProcess.setExecHandle(execHandle) workerProcess.startAccepting(acceptor) op.start {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 07 07:21:35 UTC 2021 - 6.6K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/ConcurrentTestUtil.groovy
private Runnable callback private int waitTimeMillis = 500 WaitForAsyncCallback(ConcurrentTestUtil owner) { super(owner) } WaitForAsyncCallback withWaitTime(int waitTimeMillis) { this.waitTimeMillis = waitTimeMillis return this } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 22.9K bytes - Viewed (0)