- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for runInWorker (0.14 sec)
-
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorLoggingIntegrationTest.groovy
buildFile << """ task runInWorker(type: WorkerTask) { isolationMode = $isolationMode } """.stripIndent() when: args("--debug") def gradle = executer.withTasks("runInWorker").start() then: gradle.waitForFinish() and:
Registered: 2024-06-12 18:38 - Last Modified: 2023-09-22 09:36 - 5.9K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorServicesIntegrationTest.groovy
Registered: 2024-06-12 18:38 - Last Modified: 2023-09-22 09:36 - 12.4K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorErrorHandlingIntegrationTest.groovy
fixture.withWorkActionClassInBuildSrc() buildFile << """ task runInWorker(type: WorkerTask) { isolationMode = $isolationMode workActionClass = ${failureExecution.name}.class } """.stripIndent() when: fails("runInWorker") then: failureHasCause("A failure occurred while executing ${failureExecution.name}")
Registered: 2024-06-12 18:38 - Last Modified: 2023-09-22 09:36 - 14.1K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorNestingIntegrationTest.groovy
${getWorkActionWithNesting("noIsolation", "noIsolation")} task runInWorker(type: NestingWorkerTask) { waitForChildren = true } """.stripIndent() when: succeeds("runInWorker") then: result.groupedOutput.task(':runInWorker').output.contains("Hello World") }
Registered: 2024-06-12 18:38 - Last Modified: 2023-09-22 09:36 - 9.5K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy
} } task runInWorker(type: WorkerTask) { isolationMode = $isolationMode } """ when: succeeds("runInWorker") then: assertWorkerExecuted("runInWorker") when: buildFile << """ runInWorker { foo = new AnotherFoo() }
Registered: 2024-06-12 18:38 - Last Modified: 2024-05-06 13:00 - 31K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/WorkItemProgressEventCrossVersionSpec.groovy
Registered: 2024-06-12 18:38 - Last Modified: 2024-05-16 10:10 - 6K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLoggingIntegrationTest.groovy
}.unique() taskOperations.size() == 2 taskOperations.collect {it.displayName }.containsAll(['Task :runInWorker', 'Task :runInWorker2']) and: logOperations.every { operation -> operation.progress.size() == 1000 } and: assertSameDaemonWasUsed("runInWorker", "runInWorker2") }
Registered: 2024-06-12 18:38 - Last Modified: 2023-09-22 09:36 - 4.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/BuildProgressCrossVersionSpec.groovy
ProjectConnection connection -> connection.newBuild() .forTasks('runInWorker') .addProgressListener(events) .run() } events.assertIsABuild() events.operation('Task :runInWorker').descendant('MyWorkerAction') }
Registered: 2024-06-12 18:38 - Last Modified: 2024-05-16 10:10 - 11.1K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonFailureLoggingIntegrationTest.groovy
expect: executer.withStackTraceChecksDisabled() fails("runInWorker") and: def taskActionOperation = buildOperations.first(ExecuteTaskActionBuildOperationType) { it.displayName == "Execute executeTask for :runInWorker" } taskActionOperation != null def outputProgress = taskActionOperation.progress(StyledTextOutputEvent)
Registered: 2024-06-12 18:38 - Last Modified: 2023-09-22 09:36 - 2.4K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonIntegrationTest.groovy
buildFile << """ task runInWorker(type: WorkerTask) { isolationMode = 'processIsolation' workActionClass = ${workActionThatPrintsWorkingDirectory.name}.class } """ when: args("--info") def gradle = executer.withTasks("runInWorker").start() then: gradle.waitForFinish() and:
Registered: 2024-06-12 18:38 - Last Modified: 2023-09-22 09:36 - 8.6K bytes - Viewed (0)