Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CurrentState (0.4 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/TestableDaemon.groovy

            def lastRegistryState = registryProbe.currentState
            def lastLogState = logFileProbe.currentState
            while (!timer.hasExpired() && (lastRegistryState != state || lastLogState != state)) {
                Thread.sleep(200)
                lastRegistryState = registryProbe.currentState
                lastLogState = logFileProbe.currentState
            }
            if (lastRegistryState == state && lastLogState == state) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/LegacyDaemon.groovy

        protected void waitForState(State state) {
            def timer = Time.startCountdownTimer(STATE_CHANGE_TIMEOUT)
            def lastLogState = logFileProbe.currentState
            while (!timer.hasExpired() && lastLogState != state) {
                Thread.sleep(200)
                lastLogState = logFileProbe.currentState
            }
            if (lastLogState == state) {
                return
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top