Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for expectConcurrent (0.25 sec)

  1. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelIntegrationTest.groovy

                }
            """
            blockingHttpServer.expectConcurrent("taskAction1")
            blockingHttpServer.expectConcurrent("taskAction2")
            blockingHttpServer.expectConcurrent("taskAction3")
            blockingHttpServer.expectConcurrent("taskAction4")
            blockingHttpServer.expectConcurrent("taskAction5")
            blockingHttpServer.expectConcurrent("taskAction6")
    
            expect:
            args("--max-workers=3")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy

            expect:
            blockingServer.expectConcurrent(":a:aSerialPing")
            blockingServer.expectConcurrent(":b:aPing", ":b:bPing")
            run ":a:aSerialPing", ":b:aPing", ":b:bPing"
    
            // when configuration is loaded from configuration cache, all tasks are executed in parallel
            if (GradleContextualExecuter.configCache) {
                blockingServer.expectConcurrent(":a:aSerialPing", ":b:aPing", ":b:bPing")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 14:00:51 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformParallelIntegrationTest.groovy

                        assert artifacts.artifactFiles.collect { it.name } == ['test-1.3.jar.txt', 'test2-2.3.jar.txt', 'test3-3.3.jar.txt']
                    }
                }
            """
    
            server.expectConcurrent("test-1.3.jar", "test2-2.3.jar", "test3-3.3.jar")
    
            when:
            succeeds ":resolve"
    
            then:
            outputContains("Transforming test-1.3.jar to test-1.3.jar.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:31 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelConfigurationIntegrationTest.groovy

            server.expect("configure-a")
            server.expect("configure-b")
            run()
    
            given:
            server.expect("configure-root")
            server.expectConcurrent("model-root", "configure-a", "configure-b")
            server.expectConcurrent("model-a", "model-b")
    
            when:
            executer.withArguments(ENABLE_CLI)
            def model = runBuildAction(new FetchCustomModelForEachProjectInParallel())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy

        }
    
        def "succeeds when expected concurrent requests are made"() {
            given:
            server.expectConcurrent("a", "b", "c")
            server.start()
    
            when:
            async {
                start { succeeds("a") }
                start { succeeds("b") }
                start { succeeds("c") }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ParallelDownloadsIntegrationTest.groovy

                }
    """
    
            given:
            blockingServer.expectConcurrent(
                blockingServer.get(m1.pom.path).sendFile(m1.pom.file),
                blockingServer.get(m2.pom.path).sendFile(m2.pom.file),
                blockingServer.get(m3.pom.path).sendFile(m3.pom.file),
                blockingServer.get(m4.pom.path).sendFile(m4.pom.file))
            blockingServer.expectConcurrent(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginSyntheticIntegrationTest.kt

                    }
                """
                )
                withPrecompiledKotlinScript("some.gradle.kts", """plugins { id("applied-output") }""")
    
                server.expectConcurrent("blockStart", "unblockStart")
                server.expectConcurrent("blockStop", "unblockStop")
    
                build(":concurrentTask", ":compileKotlin").apply {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 07:16:19 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/GradleBuildTaskIntegrationTest.groovy

                task log { }
            """
    
            def runs = GradleContextualExecuter.isConfigCache() ? 2 : 1
            runs.times {
                barrier.expectConcurrent("child-build-started", "1-started", "2-started")
                barrier.expectConcurrent("child-build-finished", "1-finished", "2-finished")
            }
    
            when:
            runs.times {
                executer.withArgument("--parallel")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TaskProgressCrossVersionSpec.groovy

                }
    
                task para1(type:ParTask)
                task para2(type:ParTask)
                task parallelTasks(dependsOn:[para1,para2])
            """
            server.expectConcurrent("para1", "para2")
    
            when:
            def events = ProgressEvents.create()
            withConnection {
                ProjectConnection connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/DestroyerTaskCommandLineOrderIntegrationTest.groovy

            def generate = rootBuild.task('generate').dependsOn(generateBar).dependsOn(generateFoo)
    
            server.start()
    
            writeAllFiles()
    
            expect:
            2.times {
                server.expectConcurrent(cleanFoo.path, cleanBarLocal.path)
    
                args '--parallel', '--max-workers=2'
                succeeds(clean.path, cleanBarLocal.path, generate.path)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 23 14:13:02 UTC 2022
    - 21.1K bytes
    - Viewed (0)
Back to top