Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for isConfigCache (0.17 sec)

  1. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishHttpIntegTest.groovy

            server.authenticationScheme = AuthScheme.BASIC
    
            when:
            fails 'publish'
    
            then:
            if (GradleContextualExecuter.isConfigCache()) {
                failure.assertHasDescription("Configuration cache state could not be cached:")
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/preconditions/IntegTestPreconditions.groovy

            }
        }
    
        static final class IsConfigCached implements TestPrecondition {
            @Override
            boolean isSatisfied() throws Exception {
                return GradleContextualExecuter.isConfigCache()
            }
        }
    
        static final class NotConfigCached implements TestPrecondition {
            @Override
            boolean isSatisfied() throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/GradleBuildTaskIntegrationTest.groovy

            file('subprojects/build.gradle') << """
                assert gradle.parent.rootProject.name == 'root'
                task log { }
            """
    
            def runs = GradleContextualExecuter.isConfigCache() ? 2 : 1
            runs.times {
                barrier.expectConcurrent("child-build-started", "1-started", "2-started")
                barrier.expectConcurrent("child-build-finished", "1-finished", "2-finished")
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaToolchainBuildOperationsIntegrationTest.groovy

                    "https://docs.gradle.org/current/userguide/upgrading_version_7.html#org_gradle_util_reports_deprecations"
                if (GradleContextualExecuter.isConfigCache()) {
                    executer.expectDocumentedDeprecationWarning(wrapUtilWarning)
                } else {
                    executer.beforeExecute {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractSmokeTest.groovy

                .withBuildOperationTracing(file("operations").absolutePath)
        }
    
        private List<String> configurationCacheParameters() {
            List<String> parameters = []
            if (GradleContextualExecuter.isConfigCache()) {
                def maxProblems = maxConfigurationCacheProblems()
                parameters += [
                    "--${ConfigurationCacheOption.LONG_OPTION}".toString(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 08:14:32 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/FinalizerTaskIntegrationTest.groovy

                  inputs.files zip
                }
            """
    
            expect:
            2.times {
                run(":test",  ":publish", ":integTest")
                if (GradleContextualExecuter.isConfigCache()) {
                    // With configuration cache tasks can run in parallel
                    result.assertTaskOrder(exact(any(":test", ":integTest"), ":finalizer"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

                    stringInput.set(provider { throw new RuntimeException("BOOM") })
                }
            """)
    
            when:
            fails "failingTask"
    
            then:
            if (GradleContextualExecuter.isConfigCache()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top