Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for waitForLifecycleLogToContain (0.39 sec)

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

            }
    
            then:
            completeBuild()
    
            then:
            idle()
    
            when:
            startBuild(null, "UTF-8")
            waitForLifecycleLogToContain(1, "1 incompatible")
            waitForBuildToWait()
    
            then:
            state 1, 1
    
            then:
            completeBuild(1)
    
            then:
            idle 2
            daemonContext(1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. 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:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/AbstractDaemonLifecycleSpec.groovy

            run {
                poll(BUILD_EXECUTION_TIMEOUT) { assert builds[buildNum].standardOutput.contains(DaemonStateCoordinator.DAEMON_WILL_STOP_MESSAGE) }
            }
        }
    
        void waitForLifecycleLogToContain(buildNum = 0, String expected) {
            run {
                poll(BUILD_EXECUTION_TIMEOUT) { assert builds[buildNum].standardOutput.contains(expected) }
            }
        }
    
        void stopDaemons() {
    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