- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for isolationMode (0.17 sec)
-
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelIntegrationTest.groovy
where: isolationMode << [ 'processIsolation', 'classLoaderIsolation' ] } def "multiple work items with different actions can be executed in parallel in #isolationMode"() { given: buildFile << """ task parallelWorkTask(type: MultipleWorkItemTask) { isolationMode = $isolationMode doLast {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 31.7K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorServicesIntegrationTest.groovy
def rootTask = tasks.create("runInWorker", WorkerTask) { isolationMode = $isolationMode } project(":anotherProject") { tasks.create("runInWorker2", WorkerTask) { dependsOn rootTask isolationMode = $isolationMode } } """ file("foo").text = "foo"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 12.4K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorErrorHandlingIntegrationTest.groovy
buildFile << """ task runAgainInWorker(type: WorkerTask) { isolationMode = $isolationMode workActionClass = ${alternateExecution.name}.class } task runInWorker(type: WorkerTask) { isolationMode = $isolationMode additionalClasspath = files('${parameterJar.name}') foo = new FooWithUnserializableBar()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 14.1K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParametersIntegrationTest.groovy
where: isolationMode << ISOLATION_MODES } def "can provide file collection parameters with isolation mode #isolationMode"() { buildFile << """ ${parameterWorkAction('ConfigurableFileCollection', 'parameters.testParam.files.each { println it.name }')} task runWork(type: ParameterTask) { isolationMode = ${isolationMode} parameters {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 13.2K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy
assertWorkerExecuted("runInWorker") where: isolationMode << ISOLATION_MODES } def "can create and use a work action defined in build script in #isolationMode"() { fixture.withWorkActionClassInBuildScript() buildFile << """ task runInWorker(type: WorkerTask) { isolationMode = $isolationMode } """ when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 31K bytes - Viewed (0) -
platforms/core-execution/workers/src/testFixtures/groovy/org/gradle/workers/fixtures/WorkerExecutorFixture.groovy
import org.gradle.util.internal.TextUtil class WorkerExecutorFixture { enum IsolationMode { NO_ISOLATION("no"), CLASSLOADER_ISOLATION("classLoader"), PROCESS_ISOLATION("process"); private final String prefix IsolationMode(String prefix) { this.prefix = prefix } String getMethod() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 05 12:36:12 UTC 2024 - 14.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskTimeoutIntegrationTest.groovy
} } @LeaksFileHandles // TODO https://github.com/gradle/gradle-private/issues/1532 def "timeout stops long running work items with #isolationMode isolation"() { given: if (isolationMode == 'process') { // worker starting threads can be interrupted during worker startup and cause a 'Could not initialise system classpath' exception.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 12.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TaskProgressCrossVersionSpec.groovy
} class ParTask extends DefaultTask { @TaskAction zzz() { services.get(WorkerExecutor.class).submit(TestRunnable) { it.isolationMode = org.gradle.workers.IsolationMode.NONE it.params = [ name ] } } } """ } private defineGradleWorkAction() { """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 13.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r40/ProjectConfigurationChildrenProgressCrossVersionSpec.groovy
} } private String workerSubmit(String actionName) { if (getTargetVersion() < GradleVersion.version("6.0")) { "workerExecutor.submit(${actionName}WorkAction) { c -> c.isolationMode = IsolationMode.${actionName == 'Forked' ? 'PROCESS' : 'NONE'} }" } else { "workerExecutor.${actionName == 'Forked' ? 'process' : 'no'}Isolation().submit(${actionName}WorkAction) { }" } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Jan 14 00:59:27 UTC 2024 - 15.3K bytes - Viewed (0)