Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for waitForBuildToWait (0.23 sec)

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

            when:
            startBuild()
    
            then:
            waitForBuildToWait()
    
            when:
            stopDaemons()
    
            then:
            waitForLifecycleLogToContain(HandleStop.EXPIRATION_REASON)
        }
    
        def "daemon stops after current build if registry is deleted"() {
            when:
            startBuild()
            waitForBuildToWait()
    
            then:
            busy()
            daemonContext {
    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. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonLifecycleEncodingSpec.groovy

        def "if a daemon exists but is using a file encoding, a new compatible daemon will be created and used"() {
            when:
            startBuild(null, "US-ASCII")
            waitForBuildToWait()
    
            then:
            busy()
            daemonContext {
                assert daemonOpts.contains("-Dfile.encoding=US-ASCII")
            }
    
            then:
            completeBuild()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/AbstractDaemonLifecycleSpec.groovy

            poll(10) {
                if (file.exists()) {
                    file.delete()
                }
                assert !file.exists()
            }
        }
    
        void waitForBuildToWait(buildNum = 0) {
            run {
                poll(BUILD_EXECUTION_TIMEOUT) { assert builds[buildNum].standardOutput.contains("waiting for stop file") }
            }
        }
    
    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