Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for startBuild (0.13 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonLifecycleSpec.groovy

            then:
            idle()
    
            when:
            startBuild()
            waitForBuildToWait()
    
            then:
            busy()
        }
    
        def "a new daemon is started if all existing are busy"() {
            when:
            startBuild()
    
            then:
            busy()
    
            when:
            startBuild()
    
            then:
            busy 2
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/process/internal/CancellationIntegrationTest.groovy

            startBuild(task, buildCacheEnabled)
            cancelBuild(task)
    
            startBuild(task, buildCacheEnabled)
            cancelBuild(task)
    
            assert daemons.daemons.size() == 1
        }
    
        private void assertTaskIsCancellable(String task, boolean buildCacheEnabled = false) {
            startBuild(task, buildCacheEnabled)
            cancelBuild(task)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 04:31:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy

            startBuild("compileJava")
    
            then:
            handler.waitForAllPendingCalls()
    
            then:
            handler.releaseAll()
    
            then:
            succeeds()
    
            and:
            pidFile().exists()
            def pid2 = pidFile().text.strip() as long
            pid2 == pid1
        }
    
        private void startBuild(String task) {
            executer
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/continuous/ContinuousBuildActionExecutorTest.groovy

            System.in.read() == -1
        }
    
        def "can cancel the build"() {
            given:
            continuousBuildEnabled()
            buildDeclaresInputs()
    
            when:
            def runningBuild = startBuild()
    
            then:
            conditions.eventually {
                waitingForChangesMessageAppears()
            }
    
            when:
            cancellationToken.cancel()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonLifecycleEncodingSpec.groovy

            when:
            startBuild(null, "US-ASCII")
            waitForBuildToWait()
    
            then:
            busy()
            daemonContext {
                assert daemonOpts.contains("-Dfile.encoding=US-ASCII")
            }
    
            then:
            completeBuild()
    
            then:
            idle()
    
            when:
            startBuild(null, "UTF-8")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/AbstractDaemonLifecycleSpec.groovy

        def buildDirWithScript(buildNum, buildScript) {
            def dir = buildDir(buildNum)
            dir.file("settings.gradle").touch()
            dir.file("build.gradle") << buildScript
            dir
        }
    
        void startBuild(String javaHome = null, String buildEncoding = null) {
            run {
                executer.withTasks("watch")
                executer.withDaemonIdleTimeoutSecs(daemonIdleTimeout)
                executer.withArguments(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:32:55 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top