Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for waitForFinish (0.23 sec)

  1. platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/DefaultOsXJavaHomeCommand.java

            execHandleBuilder.setErrorOutput(outputStream); // verbose output is written to stderr
            execHandleBuilder.setStandardOutput(new ByteArrayOutputStream());
            execHandleBuilder.build().start().waitForFinish().assertNormalExitValue();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/ExecuteBuild.java

                BuildActionResult result = actionExecuter.execute(build.getAction(), build.getParameters(), buildRequestContext);
                execution.setResult(result);
            } finally {
                buildEventConsumer.waitForFinish();
                runningStats.buildFinished();
                LOGGER.debug(DaemonMessages.FINISHED_BUILD);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/StoppingDaemonIntegrationSpec.groovy

            def stopExecutions = []
            5.times { idx ->
                stopExecutions << executer.withArguments("--stop").start()
            }
            stopExecutions.each { it.waitForFinish() }
            def out = executer.withArguments("--stop").run().output
    
            then:
            stopsSingleDaemon()
            out.contains(DaemonMessages.NO_DAEMONS_RUNNING)
    
            build.waitForFailure()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLoggingIntegrationTest.groovy

                lastOutput = gradle.standardOutput
                assert newOutput.contains("beep...")
            }
    
            then:
            handler.releaseAll()
    
            then:
            gradle.waitForFinish()
        }
    
        def "log messages from a worker daemon are associated with the task that invokes them"() {
            def buildOperations = new BuildOperationsFixture(executer, temporaryFolder)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r22/ClientShutdownCrossVersionSpec.groovy

            when:
            toolingApi.close()
    
            then:
            toolingApi.daemons.daemon.assertBusy()
    
            when:
            sync.releaseAll()
            build.waitForFinish()
    
            then:
            toolingApi.daemons.daemon.stops()
        }
    
        def "shutdown ignores daemons that are no longer running"() {
            given:
            withConnection { connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. subprojects/build-events/src/integTest/groovy/org/gradle/build/event/BuildEventsParallelIntegrationTest.groovy

            // Increase the chance of the test to detect a broken implementation that doesn't wait for events to be processed before closing the service.
            sleep(1000)
            handleA.releaseAll()
    
            result = build.waitForFinish()
    
            then: "build succeeds and only one listener service was created"
    
            outputContains("listener 1 created")
            outputDoesNotContain("listener 2 created")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/artifactreuse/ArtifactResolutionQueryIntegrationTest.groovy

            handler.waitForAllPendingCalls()
            handler.release('/sync')
            Thread.sleep(1000)
            handler.release(module.pom.path)
    
            build.waitForFinish()
        }
    
        @Issue('https://github.com/gradle/gradle/issues/11247')
        @ToBeFixedForConfigurationCache(because = "task uses artifact query API")
        def 'respects repository content filter'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RemoteDependencyResolveConsoleIntegrationTest.groovy

                    "> one-1.2.jar > 1 KiB/2 KiB downloaded", "> two-1.2.jar > 1 KiB/2 KiB downloaded"
                )
            }
    
            getM1Jar.release()
            getM2Jar.release()
            build.waitForFinish()
        }
    
        void outputContainsProgress(GradleHandle build, String taskProgressLine, String... progressOutputLines) {
            def output = LogContent.of(build.standardOutput).ansiCharsToColorText().withNormalizedEol()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 14 00:59:27 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/FixedSharedModeCrossProcessCacheAccessIntegrationTest.groovy

            def cacheAccess = simulateAnotherInitializationOfAlreadyInitializedWorkerClasspathCache()
            cacheAccess.open()
            block.releaseAll()
            build.waitForFinish()
    
            then:
            noExceptionThrown()
    
            cleanup:
            cacheAccess?.close()
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorLoggingIntegrationTest.groovy

                }
            """.stripIndent()
    
            when:
            args("--debug")
            def gradle = executer.withTasks("runInWorker").start()
    
            then:
            gradle.waitForFinish()
    
            and:
            gradle.standardOutput.contains("Build operation '${workAction.packageName}.${workAction.name}' started")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top