Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for waitForAllPendingCalls (0.41 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/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/AbstractConsoleBuildPhaseFunctionalTest.groovy

            expect:
            settings.waitForAllPendingCalls()
            assertHasBuildPhase("0% INITIALIZING")
            settings.releaseAll()
    
            and:
            rootBuildScript.waitForAllPendingCalls()
            assertHasBuildPhase("0% CONFIGURING")
            rootBuildScript.releaseAll()
    
            and:
            bBuildScript.waitForAllPendingCalls()
            assertHasBuildPhase("40% CONFIGURING")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 07:25:15 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ConcurrentBuildsIncrementalBuildIntegrationTest.groovy

            def build1 = executer.start()
            block1.waitForAllPendingCalls()
    
            // Change content and start build 2 then wait until it has run task 'a'. Should see 'a' is not up-to-date
            inputFile.text = 'new content'
            executer.withTasks("block2")
            def build2 = executer.start()
            block2.waitForAllPendingCalls()
    
            // Finish up build 1
            block1.releaseAll()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 12 09:35:17 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelIntegrationTest.groovy

            def gradle = executer.start()
    
            then:
            handler.waitForAllPendingCalls()
    
            when:
            handler.release(1)
    
            then:
            handler.waitForAllPendingCalls()
    
            when:
            handler.release(2)
    
            then:
            handler.waitForAllPendingCalls()
    
            when:
            handler.release(3)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy

            def build = connection.newBuild()
            build.forTasks('hang')
            build.run(resultHandler)
            sync.waitForAllPendingCalls(resultHandler)
            connector.disconnect()
            resultHandler.finished()
    
            then:
            assertNoRunningDaemons()
        }
    
        @Timeout(30)
        @TargetGradleVersion(">=6.8")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top