Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for expectConcurrent (0.86 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. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceParallelExecutionIntegrationTest.groovy

                allprojects {
                    ping.usesService(service)
                }
            """
    
            expect:
            blockingServer.expectConcurrent("a", "b")
    
            run ":a:ping", ":b:ping"
    
            and:
            blockingServer.expectConcurrent("a", "b")
    
            run ":a:ping", ":b:ping"
        }
    
        @ToBeFixedForIsolatedProjects(because = "allprojects")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheParallelTaskIntegrationTest.groovy

                tasks.create('d', SlowTask) {
                    mustRunAfter('a')
                }
            """
    
            expect:
            2.times {
                server.expectConcurrent("b", "c")
                server.expectConcurrent("a")
                server.expectConcurrent("d")
                configurationCacheRun "a", "d"
            }
        }
    
        @Requires(IntegTestPreconditions.NotParallelExecutor)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/ParallelSourceDependencyIntegrationTest.groovy

            httpServer.expectConcurrent("A", "B", "C", "D")
            // Only one project should clone
            repo.expectListVersions()
            repo.expectCloneSomething()
    
            then:
            succeeds('resolve', '--parallel', '--max-workers=4')
    
            when:
            // Wait for each project to list versions concurrently
            httpServer.expectConcurrent("A", "B", "C", "D")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/ParallelProjectExecutionIntegrationTest.groovy

            blockingServer.expectConcurrent(':b:pingServer', ':c:pingServer')
            blockingServer.expect(':a:pingServer')
    
            run ':a:pingServer'
        }
    
        def "project dependency a->[b,c] and both b & c fail"() {
            projectDependency from: 'a', to: ['b', 'c']
            failingBuild 'b'
            failingBuild 'c'
    
            when:
            blockingServer.expectConcurrent(':b:pingServer', ':c:pingServer')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelBuildOperationsIntegrationTest.groovy

                        }
    
                        dependsOn project(':').workTask
                    }
                }
            """
    
            then:
            blockingHttpServer.expectConcurrent("workTask", "slowTask")
            blockingHttpServer.expectConcurrent("dependsOnWorkTask", "slowTask2")
    
            args("--max-workers=4", "--parallel")
            succeeds("dependsOnWorkTask", "slowTask")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. 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)
Back to top