Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for expectConcurrent (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MissingTaskDependenciesIntegrationTest.groovy

            //   - The snapshotting of the zip task finishes before the snapshotting of the outputs of the compile task
            server.expectConcurrent("zipFileSnapshottingStarted", "compileAction1")
            server.expectConcurrent("zipFileSnapshottingFinished", "compileAction2")
            when:
            run "srcZip", "compile", "--parallel"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 08:14:44 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/ProducerTaskCommandLineOrderIntegrationTest.groovy

            def cleanBar = bar.task('cleanBar').destroys('build/bar').destroys('build/pkg-src')
            def clean = rootBuild.task('clean').dependsOn(cleanFoo).dependsOn(cleanBar)
    
            server.start()
            server.expectConcurrent(generateFoo.path, packageBarSources.path)
    
            writeAllFiles()
    
            expect:
            2.times {
                args '--parallel', '--max-workers=2'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy

                            assert fileDetails.file.text == contents
                        }
                    }
                }
    
                update()
                verify()
            """
    
            server.expectConcurrent('wait', 'wait')
    
            when: "two processes are started, which will edit the settings file at the same time"
            def handle1 = executer.withTasks('tasks').start()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy

        }
    
        def "starts a new worker daemon when there are no idle compatible worker daemons available"() {
            blockingServer.start()
            blockingServer.expectConcurrent("runInDaemon", "startNewDaemon")
    
            fixture.withWorkActionClassInBuildSrc()
            fixture.withBlockingWorkActionClassInBuildSrc("http://localhost:${blockingServer.port}")
    
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top