Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for waitForFinish (0.19 sec)

  1. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/ForkingGradleHandleTest.groovy

            forkingGradleHandle.execHandleRef.set(execHandle)
        }
    
        def "wait for finish for successful execution"() {
            when:
            def executionResult = forkingGradleHandle.waitForFinish()
    
            then:
            1 * execHandle.waitForFinish() >> execResult
            0 * execHandle._
            1 * execResult.rethrowFailure()
            1 * execResult.getExitValue() >> SUCCESS_EXIT_VALUE
            1 * resultAssertion.execute(_)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/CommandLineIntegrationSpec.groovy

            then:
            ConcurrentTestUtil.poll() {
                // Connect, resume threads, and disconnect from VM
                jdwpClient.connect().dispose()
            }
            gradle.waitForFinish()
        }
    
        @Issue('https://github.com/gradle/gradle/issues/18084')
        @Requires(IntegTestPreconditions.NotEmbeddedExecutor)
        @Flaky(because = "https://github.com/gradle/gradle-private/issues/3636")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 05:05:14 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy

                assertReleaseSignalTriggered(build2)
                assertReleaseSignalTriggered(build3)
            }
    
            then:
            receivingLock.close()
            build1.waitForFinish()
            build2.waitForFinish()
            build3.waitForFinish()
        }
    
        // This test simulates a long running Zinc compiler setup by running code similar to ZincScalaCompilerFactory through the worker API.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/AbstractConsoleBuildPhaseFunctionalTest.groovy

                assert gradle.standardOutput =~ regexFor(message)
            }
        }
    
        String regexFor(String message) {
            /<.*> $message \[[\dms ]+]/
        }
    
        void waitForFinish() {
            result = gradle.waitForFinish()
            outputDoesNotContain("More progress was logged than there should be")
        }
    
        String buildFinishedCall(String name) {
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 07:25:15 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy

            result = gradleHandle.waitForFinish()
            result.output.count(prompt) == 1
        }
    
        void runWithInterruptedInput(String task) {
            interactiveExecution()
            def gradleHandle = executer.withTasks(task).start()
            writeToStdInAndClose(gradleHandle, EOF)
            result = gradleHandle.waitForFinish()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/InvalidateVirtualFileSystemAfterChangeCrossVersionSpec.groovy

                connection.notifyDaemonsAboutChangedPaths(toPaths(changedPaths))
            }
    
            then:
            block.releaseAll()
            build.waitForFinish()
            pathsInvalidated()
    
            cleanup:
            block?.releaseAll()
            build?.waitForFinish()
        }
    
        @TargetGradleVersion(">=3.0 <6.1")
        def "invalidating paths has no effect on older daemons"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/BuildSourceBuilderIntegrationTest.groovy

            def runReleaseHandle = executer.withTasks("build2").usingInitScript(initScriptFile).start()
    
            and:
            def releaseResult = runReleaseHandle.waitForFinish()
            def blockingResult = runBlockingHandle.waitForFinish()
    
            then:
            blockingResult.ignoreBuildSrc.assertTasksExecuted(":build1")
            releaseResult.ignoreBuildSrc.assertTasksExecuted(":build2")
    
            cleanup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy

            cancelBuild()
    
            then:
            daemons.daemon.becomesIdle()
    
            and:
            pidFile().exists()
            def pid1 = pidFile().text.strip() as long
            new ProcessFixture(pid1).waitForFinish()
    
            when:
            handler = blockingHttpServer.expectAndBlock("/block")
            startBuild("compileJava")
    
            then:
            handler.waitForAllPendingCalls()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ForkingGradleHandle.java

        }
    
        @Override
        public ExecutionResult waitForFinish() {
            return waitForStop(false);
        }
    
        @Override
        public ExecutionFailure waitForFailure() {
            return (ExecutionFailure) waitForStop(true);
        }
    
        @Override
        public void waitForExit() {
            getExecHandle().waitForFinish().rethrowFailure();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleHandle.java

         */
        GradleHandle cancelWithEOT();
    
        /**
         * Blocks until the build is complete and assert that the build completed successfully.
         */
        ExecutionResult waitForFinish();
    
        /**
         * Blocks until the build is complete and assert that the build completed with a failure.
         */
        ExecutionFailure waitForFailure();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top