Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for waitForDaemonExpiration (0.16 sec)

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

            then:
            busy()
            daemonContext {
                File registry = new DaemonDir(executer.daemonBaseDir).registry
                deleteFile(registry)
            }
    
            when:
            waitForDaemonExpiration()
    
            then:
            completeBuild()
    
            and:
            stopped()
        }
    
        def "idle daemon stops immediately if registry is deleted"() {
            when:
            startBuild()
    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/AbstractDaemonLifecycleSpec.groovy

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