Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 82 for requireDaemon (0.19 sec)

  1. platforms/core-runtime/instrumentation-agent-services/src/integTest/groovy/org/gradle/internal/instrumentation/agent/AgentApplicationTest.groovy

        )
        def "daemon spawned from embedded runner has agent enabled"() {
            given:
            executer.tap {
                // Force a separate daemon spawned by the InProcessGradleExecuter
                requireDaemon()
                requireIsolatedDaemons()
            }
            withAgent()
            withDumpAgentStatusTask()
    
            when:
            succeeds()
    
            then:
            agentWasApplied()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/AbstractDaemonWorkerExecutorIntegrationSpec.groovy

    import org.gradle.integtests.fixtures.executer.ExecutionResult
    
    
    abstract class AbstractDaemonWorkerExecutorIntegrationSpec extends AbstractWorkerExecutorIntegrationTest {
        def setup() {
            executer.requireDaemon()
            executer.requireIsolatedDaemons()
        }
    
        @Override
        protected ExecutionResult succeeds(String... tasks) {
            executer.withWorkerDaemonsExpirationDisabled()
            return super.succeeds(tasks)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/AbstractScriptCachingIntegrationTest.kt

    import org.junit.Before
    
    
    abstract class AbstractScriptCachingIntegrationTest : AbstractKotlinIntegrationTest() {
    
        @Before
        fun isolatedDaemons() {
            executer.apply {
                requireDaemon()
                requireIsolatedDaemons()
            }
        }
    
        @After
        fun stopDaemons() {
            build("--stop")
        }
    
        protected
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:33:23 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInjection.groovy

                    return "using client JVM args"
                }
    
                @Override
                void setup(AbstractConfigurationCacheIntegrationTest test) {
                    test.executer.requireDaemon().requireIsolatedDaemons()
                    test.executer.withCommandLineGradleOpts("-D${prop}=${value}")
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonIntegrationSpec.groovy

    import org.gradle.integtests.fixtures.executer.GradleHandle
    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() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonExpirationIntegrationTest.groovy

    @IntegrationTestTimeout(120)
    class WorkerDaemonExpirationIntegrationTest extends AbstractIntegrationSpec {
    
        def setup() {
            given:
            executer.requireIsolatedDaemons()
            executer.requireDaemon()
    
            and:
            settingsFile << """
                rootProject.name = 'root'
                include 'a', 'b'
            """.stripIndent()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/internal/buildevents/BuildFailureIntegrationTest.groovy

        def "still prints errors when exception misbehaves"() {
            // When running in-process, the NPE propagates out of the test fixtures
            executer.requireIsolatedDaemons()
            executer.requireDaemon()
    
            buildFile << """
    class BadException extends Exception {
       String getMessage() {
         throw new NullPointerException()
       }
    }
    
    throw new BadException()
    """
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 13:10:04 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/StacktraceIntegrationTest.groovy

            fails()
    
            then:
            assertCauseWithStacktrace('show stacktrace was ALWAYS')
        }
    
        def "emits actionable message when wrong configuration is used"() {
            setup:
            executer.requireDaemon().requireIsolatedDaemons()
            file('gradle.properties') << 'org.gradle.logging.stacktrace=suppress'
    
            when:
            fails()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildCancellationIntegrationTest.groovy

                assert !gradle.isRunning()
            }
        }
    
        def "does not log daemon cancel message for continuous build"() {
            setup:
            executer.requireDaemon()
            executer.requireIsolatedDaemons()
            setupJavaProject()
    
            when:
            succeeds("build")
    
            and:
            sendEOT()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonToolchainIntegrationTest.groovy

    class DaemonToolchainIntegrationTest extends AbstractIntegrationSpec implements DaemonJvmPropertiesFixture, JavaToolchainFixture {
        def setup() {
            executer.requireIsolatedDaemons()
            executer.requireDaemon()
        }
    
        def "Given daemon toolchain version When executing any task Then daemon jvm was set up with expected configuration"() {
            given:
            writeJvmCriteria(Jvm.current())
            captureJavaHome()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top