- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for requireIsolatedDaemons (0.77 sec)
-
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/CommandLineIntegrationSpec.groovy
@Requires(IntegTestPreconditions.NotParallelExecutor) def "reasonable failure message when --max-workers=#value"() { given: executer.requireDaemon().requireIsolatedDaemons() // otherwise exception gets thrown in testing infrastructure when: executer.withArgument("--max-workers=$value") then: fails "help" and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 05:05:14 UTC 2024 - 8.6K bytes - Viewed (0) -
testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/TaskSubclassingBinaryForwardCompatibilityCrossVersionSpec.groovy
} def "task can use all methods declared by Task interface that AbstractTask specialises"() { given: prepareMethodUseTest(previous.version) expect: version previous withTasks 'assemble' inDirectory(file("producer")) run() version current requireDaemon() requireIsolatedDaemons() withTasks 't' run() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.6K bytes - Viewed (0) -
testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/TaskSubclassingBinaryBackwardsCompatibilityCrossVersionSpec.groovy
} def "task can use all methods declared by Task interface that AbstractTask specialises"() { given: prepareMethodUseTest(current.version) expect: version current withTasks 'assemble' inDirectory(file("producer")) run() version previous requireDaemon() requireIsolatedDaemons() withTasks 't' run() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApi.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:07:23 UTC 2024 - 12K bytes - Viewed (0) -
platforms/core-runtime/instrumentation-agent-services/src/integTest/groovy/org/gradle/internal/instrumentation/agent/AgentApplicationTest.groovy
@Requires( value = IntegTestPreconditions.IsDaemonExecutor, reason = "Testing the daemons" ) def "daemon with the same agent status is reused"() { given: executer.requireIsolatedDaemons() withDumpAgentStatusTask() when: withAgentApplied(useAgentOnFirstRun) succeeds() then: daemons.daemon.becomesIdle() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 7.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedEntryCleanupIntegrationTest.groovy
} def "cleans up resources and files that were not recently used from caches"() { given: buildscriptWithDependency(snapshotModule) when: executer.requireIsolatedDaemons() // needs to stop daemon succeeds 'resolve' then: def resource = findFile(cacheDir, 'resources-*/**/maven-metadata.xml') def files = findFiles(cacheDir, "files-*/**/*")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 12:06:23 UTC 2024 - 16.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r10rc1/PassingCommandLineArgumentsCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/longlived/PersistentBuildProcessIntegrationTest.groovy
*/ @Requires(IntegTestPreconditions.IsLongLivingProcess) class PersistentBuildProcessIntegrationTest extends AbstractIntegrationSpec { def setup() { executer.requireIsolatedDaemons() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleContextualExecuter.java
if (executerType == Executer.embedded && !Charset.forName(defaultCharacterEncoding).equals(Charset.defaultCharset())) { // need to fork to apply the new default character encoding requireDaemon().requireIsolatedDaemons(); } return super.withDefaultCharacterEncoding(defaultCharacterEncoding); } @Override public GradleExecuter withDefaultLocale(Locale defaultLocale) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 18:06:31 UTC 2024 - 7.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonIntegrationSpec.groovy
import org.gradle.test.fixtures.ConcurrentTestUtil abstract class DaemonIntegrationSpec extends AbstractIntegrationSpec { def setup() { executer.requireDaemon() executer.requireIsolatedDaemons() } void stopDaemonsNow() { result = executer.withArguments("--stop", "--info").run() } void buildSucceeds() { result = executer.withArguments("--info").run() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.7K bytes - Viewed (0)