Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for waitForAllPendingCalls (0.46 sec)

  1. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/AbstractConsoleConfigurationProgressFunctionalTest.groovy

            expect:
            childBuildScript.waitForAllPendingCalls()
            assertHasWorkInProgress(":child")
            childBuildScript.releaseAll()
    
            and:
            childABuildScript.waitForAllPendingCalls()
            assertHasWorkInProgress(":child:a")
            childABuildScript.releaseAll()
    
            and:
            rootBuildScript.waitForAllPendingCalls()
            assertHasWorkInProgress("root project")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishConsoleIntegrationTest.groovy

            putJar.waitForAllPendingCalls()
    
            then:
            ConcurrentTestUtil.poll {
                RichConsoleStyling.assertHasWorkInProgress(build, "> :publishMavenPublicationToMavenRepository > test-1.2.jar")
            }
    
            when:
            putJar.releaseAll()
            putJarSha.waitForAllPendingCalls()
    
            then:
            ConcurrentTestUtil.poll {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractJvmFailFastIntegrationSpec.groovy

            def testExecution = server.expectConcurrentAndBlock(DEFAULT_MAX_WORKERS, FAILED_RESOURCE, OTHER_RESOURCE)
    
            when:
            def gradleHandle = executer.withTasks(taskList).start()
            testExecution.waitForAllPendingCalls()
    
            then:
            testExecution.release(FAILED_RESOURCE)
            testExecution.release(OTHER_RESOURCE)
            gradleHandle.waitForFailure()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r22/CancellationCrossVersionSpec.groovy

                def build = connection.newBuild()
                build.forTasks(':sub:broken')
                build.withCancellationToken(cancel.token())
                build.run(resultHandler)
                sync.waitForAllPendingCalls(resultHandler)
                cancel.cancel()
                sync.releaseAll()
                resultHandler.finished()
            }
    
            then:
            buildWasCancelled(resultHandler)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ConcurrentBuildsArtifactTransformIntegrationTest.groovy

            def build1 = executer.withTasks("redThings", "block1", "blueThings").start()
            block1.waitForAllPendingCalls()
    
            // Block until second build has produced blue things
            def build2 = executer.withTasks("redThings", "blueThings", "block2").start()
            block2.waitForAllPendingCalls()
    
            // Finish up first build while second build is still running
            block1.releaseAll()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkQueueIntegrationTest.groovy

            when:
            def gradle = executer.withTasks("runWork").start()
    
            then:
            started.waitForAllPendingCalls()
    
            then:
            started.release("submitted")
            started.release("item1")
            started.release("item2")
    
            then:
            finished.waitForAllPendingCalls()
    
            then:
            finished.releaseAll()
            started.release("item3")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy

            file('src/main/java/Foo.java') << blockingFooClass
            def handler = blockingHttpServer.expectAndBlock("/block")
    
            when:
            startBuild("compileJava")
    
            then:
            handler.waitForAllPendingCalls()
    
            then:
            cancelBuild()
    
            then:
            daemons.daemon.becomesIdle()
    
            and:
            pidFile().exists()
            def pid1 = pidFile().text.strip() as long
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RemoteDependencyResolveConsoleIntegrationTest.groovy

            when:
            executer.withTestConsoleAttached()
            executer.withConsole(ConsoleOutput.Rich)
            def build = executer.withTasks("resolve").withArguments("--max-workers=2").start()
            metaData.waitForAllPendingCalls()
    
            then:
            ConcurrentTestUtil.poll {
                outputContainsProgress(build,
                    "> :resolve > Resolve dependencies of :compile",
                    "> one-1.2.pom", "> two-1.2.pom"
    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/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/ParallelTestExecutionIntegrationTest.groovy

            then:
            handler.waitForAllPendingCalls()
            handler.release(1)
    
            and:
            if (maxConcurrency - 1 > 0) {
                handler.waitForAllPendingCalls()
                handler.release(maxConcurrency - 1)
            }
    
            and:
            handler.waitForAllPendingCalls()
            handler.release(maxConcurrency)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ConcurrentBuildsCachingIntegrationTest.groovy

            executer.withArgument("--info")
            def build1 = executer.start()
            block1.waitForAllPendingCalls()
    
            // Start build 2 then wait until it has run both 'a' and 'b'.
            executer.withTasks("a", "b", "block2")
            executer.withArgument("--info")
            def build2 = executer.start()
            block2.waitForAllPendingCalls()
    
            // Finish up build 1 and 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top