Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 292 for Parallel (0.2 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGFailFastIntegrationTest.groovy

        def "parallel #parallel execution with #threadCount threads, #maxWorkers workers fails fast"() {
            given:
            buildFile.text = generator.initBuildFile(maxWorkers)
            buildFile << """
                test {
                    useTestNG() {
                        parallel = '$parallel'
                        threadCount = $threadCount
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/ParallelTestExecutionIntegrationTest.groovy

            }
    
            when:
            executer.withArguments("--parallel", "--max-workers=2")
            run('test')
    
            then:
            noExceptionThrown()
        }
    
        // TODO:configuration-cache test currently flaky since cc might run tests in parallel
        @Requires(value = IntegTestPreconditions.NotConfigCached, reason = "cc might cause tests to run in parallel")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGSpec.java

            boolean groupByInstances,
            boolean isDryRun
        ) {
            this.filter = filter;
            this.defaultSuiteName = defaultSuiteName;
            this.defaultTestName = defaultTestName;
            this.parallel = parallel;
            this.threadCount = threadCount;
            this.suiteThreadPoolSize = suiteThreadPoolSize;
            this.useDefaultListener = useDefaultListener;
            this.threadPoolFactoryClass = threadPoolFactoryClass;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/ParallelSourceDependencyIntegrationTest.groovy

            then:
            succeeds('resolve', '--parallel', '--max-workers=4')
    
            when:
            // Wait for each project to list versions concurrently
            httpServer.expectConcurrent("A", "B", "C", "D")
            // Only one project should list versions
            repo.expectListVersions()
    
            then:
            succeeds('resolve', '--parallel', '--max-workers=4')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. testing/performance/src/templates/gradle-properties/gradle.properties

    <% if (binding.hasVariable("daemonMemory")) { %>org.gradle.jvmargs=-Xms${binding.getVariable("daemonMemory")} -Xmx${binding.getVariable("daemonMemory")}<% } %>
    <% if (binding.hasVariable("parallel")) { %>org.gradle.parallel=true<% } %>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 349 bytes
    - Viewed (0)
  6. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/ExcludeRuleMergingPerformanceTest.groovy

            runner.args = ['-PuseHttp', "-PhttpPort=${serverPort}", "-Dorg.gradle.parallel=false"]
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
    
            cleanup:
            stopServer()
        }
    
        def "merge exclude rules (parallel)"() {
            startServer()
    
            given:
            runner.tasksToRun = ['resolveDependencies']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/LargeDependencyGraphPerformanceTest.groovy

        }
    
        def "resolve large dependency graph (parallel = #parallel, locking = #locking)"() {
            startServer()
    
            given:
            runner.tasksToRun = ['resolveDependencies']
            runner.args = ['-PuseHttp', "-PhttpPort=${serverPort}", '-PnoExcludes']
            if (parallel) {
                runner.args += '--parallel'
            }
            if (locking) {
                runner.args += '-PuseLocking'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. src/testing/panic_test.go

    	"strings"
    	"testing"
    )
    
    var testPanicTest = flag.String("test_panic_test", "", "TestPanic: indicates which test should panic")
    var testPanicParallel = flag.Bool("test_panic_parallel", false, "TestPanic: run subtests in parallel")
    var testPanicCleanup = flag.Bool("test_panic_cleanup", false, "TestPanic: indicates whether test should call Cleanup")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 16:49:24 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelBuildOperationsIntegrationTest.groovy

            args("--max-workers=4", "--parallel")
            succeeds("dependsOnWorkTask", "slowTask")
    
            assert endTime(":workTask").isBefore(endTime(":slowTask"))
        }
    
        @Requires(
            value = IntegTestPreconditions.NotConfigCached,
            reason = """Assumptions about project locking do not hold.
    With CC enabled, the project is immutable so tasks run in parallel.
    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/performance/src/templates/root-project/gradle.properties

    <% if (binding.hasVariable("daemonMemory")) { %>org.gradle.jvmargs=-Xms${binding.getVariable("daemonMemory")} -Xmx${binding.getVariable("daemonMemory")}<% } %>
    <% if (binding.hasVariable("parallel")) { %>org.gradle.parallel=true<% } %>
    <% if (binding.hasVariable("maxWorkers")) { %>org.gradle.workers.max=${binding.getVariable("maxWorkers")}<% } %>
    compilerMemory=<% if (binding.hasVariable("compilerMemory")) { %>${binding.getVariable("compilerMemory")}<% } else { %>1g<% } %>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 742 bytes
    - Viewed (0)
Back to top