- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for requireIsolatedDaemons (0.47 sec)
-
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/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) -
subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy
URLConnection urlConnection = url.openConnection() assert urlConnection.defaultUseCaches } } """ executer.requireDaemon().requireIsolatedDaemons() expect: succeeds("checkUrlConnectionCaching") } def "jars with resources on buildscript classpath can change"() { given: buildFile << '''
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:47 UTC 2024 - 19.6K bytes - Viewed (0) -
testing/soak/src/integTest/groovy/org/gradle/resolve/DependencyResolutionStressTest.groovy
} } } """ GradleExecuter executer = distribution.executer(workspace, IntegrationTestBuildContext.INSTANCE). requireDaemon().requireIsolatedDaemons(). withGradleUserHomeDir(workspace.file("user-home")) 8.times { executer.inDirectory(buildDir).withArgument("--refresh-dependencies").withTasks('check').run()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy
def lastCleanupCheck = initializeHome() expect: run() assertCacheWasNotCleanedUpSince(lastCleanupCheck) } private long initializeHome() { executer.requireIsolatedDaemons() // needs to stop daemon requireOwnGradleUserHomeDir() // needs its own journal run() // Make sure cache directory is initialized
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 16:53:17 UTC 2024 - 12.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/cache/internal/GradleUserHomeCleanupServiceIntegrationTest.groovy
} def "always cleans up unused version-specific cache directories and corresponding #type distributions when configured"() { given: executer.requireIsolatedDaemons() // because we want to reuse Gradle user home services executer.beforeExecute { if (!GradleContextualExecuter.embedded) { executer.withArgument("-D$REUSE_USER_HOME_SERVICES=true")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 10 15:48:56 UTC 2023 - 12.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy
} when: executer.withGradleUserHomeDir(homeDirectory) executer.requireDaemon() executer.requireIsolatedDaemons() run 'help' then: getCompileBuildFileOperationsCount() == 4 // classpath + body for settings and for the 2 identical scripts when: def before = scriptDetails()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 17:32:21 UTC 2024 - 24.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/AbstractPropertyLanguageInterOpIntegrationTest.groovy
usesKotlin(file(otherDir)) // This is because the Kotlin compiler is run in-process (to avoid issues with the Kotlin compiler daemon) and also keeps jars open executer.requireDaemon().requireIsolatedDaemons() otherDir.file("build.gradle.kts") << """ dependencies { implementation(project(":plugin")) } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 9.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy
} def "daemon with different native services flag is not reused"() { given: executer.requireDaemon() executer.requireIsolatedDaemons() when: executer.withArguments("-D$NATIVE_SERVICES_OPTION=$firstRunNativeServicesOption") succeeds() then: daemons.daemon.becomesIdle() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 05:18:22 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy
class ToolingApiShutdownCrossVersionSpec extends CancellationSpec { def waitFor def setup() { waitFor = new PollingConditions(timeout: 60, initialDelay: 0, factor: 1.25) toolingApi.requireIsolatedDaemons() } @TargetGradleVersion(">=6.5") def "disconnect during build stops daemon"() { setup: buildFile.text = """ task hang { doLast {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 11.5K bytes - Viewed (0)