Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 50 for waitForFinish (0.37 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/process/internal/CancellationIntegrationTest.groovy

            startBuild(task, buildCacheEnabled)
            cancelBuild(task)
    
            def build = executer.withTasks("help").withArguments("--debug").start()
            build.waitForFinish()
            assert daemons.daemons.size() == 1
        }
    
        private void waitForDaemonLog(String output) {
            String daemonLogSinceLastCheckpoint = ''
            ConcurrentTestUtil.poll(120, {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 04:31:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/ParallelTestExecutionIntegrationTest.groovy

                handler.release(maxConcurrency - 1)
            }
    
            and:
            handler.waitForAllPendingCalls()
            handler.release(maxConcurrency)
    
            then:
            gradle.waitForFinish()
    
            where:
            maxConcurrency | maxWorkers | maxParallelForks | forkEvery
            1              | 1          | 1                | 0
            3              | 3          | 3                | 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishConsoleIntegrationTest.groovy

                RichConsoleStyling.assertHasWorkInProgress(build, "> :publishMavenPublicationToMavenRepository > maven-metadata.xml")
            }
    
            putMetaData.releaseAll()
            build.waitForFinish()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesDuringTheBuildFileSystemWatchingIntegrationTest.groovy

            def userInput = server.expectAndBlock(expectedCall)
            userInput.waitForAllPendingCalls()
            action()
            userInput.releaseAll()
            result = handle.waitForFinish()
        }
    
        int getProjectFilesInVfs() {
            def retainedInformation = result.getOutputLineThatContains("Project files in VFS: ")
            def numberMatcher = retainedInformation =~ /Project files in VFS: (\d+)/
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonIntegrationTest.groovy

                }
            """
    
            when:
            args("--info")
            def gradle = executer.withTasks("runInWorker").start()
    
            then:
            gradle.waitForFinish()
    
            and:
            gradle.standardOutput.readLines().find {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  6. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginConfigurationCachingIntegrationTest.groovy

                assert handle.standardOutput.contains("there? [yes, no]")
            }
            handle.stdinPipe.write((answer + TextUtil.platformLineSeparator).bytes)
            handle.stdinPipe.close()
            result = handle.waitForFinish()
        }
    
        def "exposes correct start parameter"() {
            given:
            buildFile << """
                def serviceRef = gradle.serviceRef
                t.doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 10:49:16 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/JvmInstallationMetadataMatcherTest.groovy

                output = new PrintStream(outputStream)
                null
            }
            def handle = Mock(ExecHandle)
            handle.start() >> handle
            handle.waitForFinish() >> {
                // important to output in the order of the enum members as parsing uses enum ordinals
                probedSystemProperties.each {
                    def actualValue = actualProperties[it.systemPropertyKey]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/process/internal/worker/DefaultWorkerProcess.java

            execHandle.removeStartupContext();
        }
    
        @Override
        public ExecResult waitForStop() {
            try {
                return execHandle.waitForFinish().assertNormalExitValue();
            } finally {
                cleanup();
            }
        }
    
        @Override
        public Optional<ExecResult> getExecResult() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 14:39:33 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetector.java

                exec.setStandardOutput(out);
                exec.setErrorOutput(errorOutput);
                exec.setIgnoreExitValue(true);
                ExecResult result = exec.build().start().waitForFinish();
                int exitValue = result.getExitValue();
                if (exitValue == 0) {
                    return parseExecOutput(jdkPath, out.toString());
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 02:32:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/TransformLoggingIntegrationTest.groovy

                RichConsoleStyling.assertHasWorkInProgress(build, "> Transforming lib2.jar (project :lib) with Red > Red lib2.jar")
            }
    
            block.releaseAll()
            build.waitForFinish()
    
            cleanup:
            server.stop()
        }
    
        def "each step is logged separately"() {
            consoleType = ConsoleOutput.Plain
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 8.9K bytes
    - Viewed (0)
Back to top