Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 49 for waitForAllPendingCalls (0.4 sec)

  1. platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/SftpClientReuseIntegrationTest.groovy

            sftpServer.expectLstat("/")
            def sync = coordinator.expectAndBlock('sync')
    
            when:
            def gradle = executer.withTasks('reuseClient').withArgument("--info").start()
            sync.waitForAllPendingCalls()
    
            then:
            sftpServer.clearSessions()
            sftpServer.expectLstat("/")
            sleep(1000)
    
            when:
            sync.releaseAll()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressDaemonErrorsCrossVersionSpec.groovy

                connection.newBuild().forTasks('test').addProgressListener({ ProgressEvent event ->
                    result << event
                    if (!killed) {
                        sync.waitForAllPendingCalls()
                        sync.releaseAll()
                        toolingApi.daemons.daemon.kill()
                        killed = true
                    }
                }, EnumSet.of(OperationType.TEST)).run()
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/ContinuousBuildCancellationCrossVersionSpec.groovy

            given:
            setupCancellationBuild()
            def sync = server.expectAndBlock('sync')
    
            when:
            runBuild {
                sync.waitForAllPendingCalls()
                cancellationTokenSource.cancel()
                sync.releaseAll()
            }
    
            then:
            assert buildResult.failure instanceof BuildCancelledException
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/artifactreuse/ArtifactResolutionQueryIntegrationTest.groovy

    }
    """
            executer.requireOwnGradleUserHomeDir().requireIsolatedDaemons()
    
            expect:
            def build = executer.withArguments('query:query', ':resolve:resolve', '--parallel').start()
    
            handler.waitForAllPendingCalls()
            handler.release('/sync')
            Thread.sleep(1000)
            handler.release(module.pom.path)
    
            build.waitForFinish()
        }
    
        @Issue('https://github.com/gradle/gradle/issues/11247')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformParallelIntegrationTest.groovy

            handle.waitForAllPendingCalls()
    
            // Complete one of the downloads and one of the local files
            handle.release("a.jar")
            handle.release(m1.artifact.path)
    
            // Download has completed, transforming the result. Other artifact is still downloading
            transform1.waitForAllPendingCalls()
            transform1.releaseAll()
    
            handle.releaseAll()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:31 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildGateIntegrationTest.groovy

            // Gradle has detected the changes to inputFile
            def pending = server.expectAndBlock("pending")
            // Make some file system changes to inputFile
            inputFile.text = "changed"
            pending.waitForAllPendingCalls()
            pending.releaseAll()
            and:
            // command the gate keeper to open the gate and shutdown
            command.releaseAll()
            server.expect(server.get("command").send("stop"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/rich/RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy

            def handle = server.expectConcurrentAndBlock('longRunningStart', 'task1')
            def gradle = executer.withArgument('--parallel').withTasks('longRunning', 'task2').start()
    
            then:
            handle.waitForAllPendingCalls()
            assertOutputContains(gradle, "longRunning has started...")
    
            when:
            server.expectConcurrent('longRunningFinish', 'task2')
            handle.releaseAll()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy

            // Wait for all extracters to be ready
            waiting.waitForAllPendingCalls()
    
            def firstExtracter = server.expectAndBlock("extract")
            // release the extracters so they start trying to extract concurrently
            waiting.releaseAll()
            // wait for the first extracter to start extracting
            firstExtracter.waitForAllPendingCalls()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLoggingIntegrationTest.groovy

                }
            """
    
            when:
            def handler = server.expectConcurrentAndBlock("block", "beep")
            def gradle = executer.withTasks("block").start()
    
            then:
            handler.waitForAllPendingCalls()
            handler.release("beep")
    
            when:
            ConcurrentTestUtil.poll {
                def newOutput = gradle.standardOutput - lastOutput
                lastOutput = gradle.standardOutput
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r22/ClientShutdownCrossVersionSpec.groovy

                connection.model(GradleBuild).setJvmArguments(buildJvmArguments).get()
            }
            toolingApi.daemons.daemon.assertIdle()
    
            def build = daemonExecutor().withTasks("slow").start()
            sync.waitForAllPendingCalls()
            toolingApi.daemons.daemon.assertBusy()
    
            when:
            toolingApi.close()
    
            then:
            toolingApi.daemons.daemon.assertBusy()
    
            when:
            sync.releaseAll()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top