- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 36 for waitForAllPendingCalls (0.45 sec)
-
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGFailFastIntegrationTest.groovy
when: def gradleHandle = executer.withTasks('test', '--fail-fast').start() testExecution.waitForAllPendingCalls() then: testExecution.release(1) gradleHandle.waitForFailure() def result = new DefaultTestExecutionResult(testDirectory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.7K bytes - Viewed (0) -
subprojects/build-events/src/integTest/groovy/org/gradle/build/event/BuildEventsParallelIntegrationTest.groovy
def handleA = server.expectAndBlock("handle:a") server.expect("handle:b") server.expect("serviceClosed") def build = executer.withTasks("b").start() handleA.waitForAllPendingCalls() // Increase the chance of the test to detect a broken implementation that doesn't wait for events to be processed before closing the service. sleep(1000) handleA.releaseAll()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 19:15:46 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy
""" def handler = blockingHttpServer.expectAndBlock("between") when: def gradle = executer.withTasks("compileJava").start() then: handler.waitForAllPendingCalls() and: pidFile('other').exists() def pid1 = pidFile('other').text.strip() as long kill(pid1) when: handler.releaseAll()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 07 18:43:14 UTC 2024 - 9.6K bytes - Viewed (0) -
platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/SftpClientReuseIntegrationTest.groovy
sftpServer.expectLstat("/") def sync = coordinator.expectAndBlock('sync') when: def gradle = executer.withTasks('reuseClient').withArgument("--info").start() sync.waitForAllPendingCalls() then: sftpServer.clearSessions() sftpServer.expectLstat("/") sleep(1000) when: sync.releaseAll() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressDaemonErrorsCrossVersionSpec.groovy
connection.newBuild().forTasks('test').addProgressListener({ ProgressEvent event -> result << event if (!killed) { sync.waitForAllPendingCalls() sync.releaseAll() toolingApi.daemons.daemon.kill() killed = true } }, EnumSet.of(OperationType.TEST)).run() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/ContinuousBuildCancellationCrossVersionSpec.groovy
given: setupCancellationBuild() def sync = server.expectAndBlock('sync') when: runBuild { sync.waitForAllPendingCalls() cancellationTokenSource.cancel() sync.releaseAll() } then: assert buildResult.failure instanceof BuildCancelledException
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/artifactreuse/ArtifactResolutionQueryIntegrationTest.groovy
} """ executer.requireOwnGradleUserHomeDir().requireIsolatedDaemons() expect: def build = executer.withArguments('query:query', ':resolve:resolve', '--parallel').start() handler.waitForAllPendingCalls() handler.release('/sync') Thread.sleep(1000) handler.release(module.pom.path) build.waitForFinish() } @Issue('https://github.com/gradle/gradle/issues/11247')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 00:21:07 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildGateIntegrationTest.groovy
// Gradle has detected the changes to inputFile def pending = server.expectAndBlock("pending") // Make some file system changes to inputFile inputFile.text = "changed" pending.waitForAllPendingCalls() pending.releaseAll() and: // command the gate keeper to open the gate and shutdown command.releaseAll() server.expect(server.get("command").send("stop"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/rich/RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
def handle = server.expectConcurrentAndBlock('longRunningStart', 'task1') def gradle = executer.withArgument('--parallel').withTasks('longRunning', 'task2').start() then: handle.waitForAllPendingCalls() assertOutputContains(gradle, "longRunning has started...") when: server.expectConcurrent('longRunningFinish', 'task2') handle.releaseAll()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLoggingIntegrationTest.groovy
} """ when: def handler = server.expectConcurrentAndBlock("block", "beep") def gradle = executer.withTasks("block").start() then: handler.waitForAllPendingCalls() handler.release("beep") when: ConcurrentTestUtil.poll { def newOutput = gradle.standardOutput - lastOutput lastOutput = gradle.standardOutput
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 4.7K bytes - Viewed (0)