Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for waitForAllPendingCalls (0.18 sec)

  1. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/FixedSharedModeCrossProcessCacheAccessIntegrationTest.groovy

            def block = server.expectAndBlock("waiting")
            def build = executer.withTasks("doWork").start()
            block.waitForAllPendingCalls()
    
            // simulate another "build" that tries to initialize the cache as well before recognizing that it has been done already
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformParameterizedTestIntegrationTest.groovy

            when:
            def gradle = executer.withTasks('test', '--fail-fast').start()
    
            then:
            testExecution.waitForAllPendingCalls()
    
            when:
            testExecution.release('failingTest')
    
            then:
            gradle.waitForFailure()
    
            then:
            def result = new DefaultTestExecutionResult(testDirectory)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/StreamingBuildActionCrossVersionTest.groovy

                collectOutputs(builder)
                builder.setStreamedValueListener(listener)
                builder.run(handler)
    
                modelReceived.await()
                request.waitForAllPendingCalls()
                request.releaseAll()
                finished.await()
            }
    
            then:
            models.size() == 2
            models[0] instanceof GradleProject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 03:20:59 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesDuringTheBuildFileSystemWatchingIntegrationTest.groovy

            def handle = withWatchFs().executer.withTasks(task).start()
            def userInput = server.expectAndBlock(expectedCall)
            userInput.waitForAllPendingCalls()
            action()
            userInput.releaseAll()
            result = handle.waitForFinish()
        }
    
        int getProjectFilesInVfs() {
    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/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/TransformLoggingIntegrationTest.groovy

            """
    
            when:
            def block = server.expectConcurrentAndBlock("lib1.jar", "lib2.jar")
            def build = executer.withTasks(":util:resolveRed").start()
            then:
            block.waitForAllPendingCalls()
            poll {
                RichConsoleStyling.assertHasWorkInProgress(build, "> Transforming lib1.jar (project :lib) with Red > Red lib1.jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java

             */
            void waitForAllPendingCalls();
    
            /**
             * Waits for the expected number of concurrent requests to be received or until the given {@link FailureTracker} provides a
             * failure captured during execution which should be reported without waiting further.
             */
            void waitForAllPendingCalls(FailureTracker failureTracker);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/GitVcsIntegrationTest.groovy

            when:
            // Start the build then wait until the first configuration is resolved.
            executer.withTasks("assemble")
            def build = executer.start()
            block.waitForAllPendingCalls()
    
            // Change the head of the repo
            def javaFile = file('dep/src/main/java/Dep.java')
            javaFile.replace('class', 'interface')
            repo.commit('Changed Dep to an interface')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy

                }
            """)
            def handle = server.expectAndBlock("running")
    
            when:
            def longRunning = executer.withTasks("someLongRunningTask").start()
            handle.waitForAllPendingCalls()
    
            then:
            def before
            ConcurrentTestUtil.poll {
                // Output is delivered asynchronously, so wait until the details are available
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

            cleaningBarrier.waitForAllPendingCalls()
    
            when: 'transforming build is started'
            def transformBarrier = blockingHttpServer.expectAndBlock("transform")
            def transformingBuild = executer.withTasks("waitForTransformBarrier").start()
    
            then: 'transforming build starts artifact transform'
            transformBarrier.waitForAllPendingCalls()
            def cachedTransform = null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
Back to top