Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for threadCount (0.16 sec)

  1. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGSpec.java

            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;
            this.includeGroups = includeGroups;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceProjectLockTest.groovy

            assert workerLeaseService.currentProjectLocks.empty
        }
    
        def "multiple threads can coordinate locking of a project"() {
            def threadCount = 10
            def started = new CountDownLatch(threadCount)
    
            when:
            async {
                threadCount.times {
                    start {
                        started.countDown()
                        thread.blockUntil.releaseAll
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/testng/TestNGOptionsTest.groovy

                excludeGroups == source.excludeGroups
                configFailurePolicy == source.configFailurePolicy
                listeners == source.listeners
                parallel == source.parallel
                threadCount == source.threadCount
                suiteThreadPoolSize.get() == source.suiteThreadPoolSize.get()
                useDefaultListeners == source.useDefaultListeners
                threadPoolFactoryClass == source.threadPoolFactoryClass
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. testing/performance/src/templates/project-with-source/pom.xml

                    <!--<version>2.5</version>-->
                    <!--<configuration>-->
                        <!--<parallel>classes</parallel>-->
                        <!--<threadCount>4</threadCount>-->
                    <!--</configuration>-->
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 08:47:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/testng/TestNGOptions.java

         */
        @Internal
        public int getThreadCount() {
            return threadCount;
        }
    
        public void setThreadCount(int threadCount) {
            this.threadCount = threadCount;
        }
    
        /**
         * The number of XML suites will run parallel
         * @since 8.9
         */
        @Internal
        @Incubating
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/operations/DefaultBuildOperationExecutorParallelExecutionTest.groovy

            exceptionInFailureQueue
    
            and:
            successfulQueueCompleted
        }
    
        def "multiple failures get reported"() {
            given:
            def threadCount = 4
            setupBuildOperationExecutor(threadCount)
            def worker = new SimpleWorker()
            def operation = Stub(DefaultBuildOperationQueueTest.TestBuildOperation) {
                run(_) >> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceParallelExecutionIntegrationTest.groovy

            blockingServer.expectConcurrent(2, "a", "b", "c")
    
            run ":a:ping", ":b:ping", ":c:ping"
        }
    
        void withParallelThreads(int threadCount) {
            executer.beforeExecute {
                withArguments("--max-workers=$threadCount", "--parallel")
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGUpToDateCheckIntegrationTest.groovy

            property                 | modification
            'suiteName'              | '= "Honeymoon Suite"'
            'testName'               | '= "Turing completeness"'
            'parallel'               | '= "methods"'
            'threadCount'            | '= 2'
            'suiteThreadPoolSize'    | '= 2'
            'listeners'              | '= ["org.testng.reporters.FailedReporter"]'
            'useDefaultListeners'    | '= true'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy

                        }
                    }
                }
            """
        }
    
        void withParallelThreads(int threadCount) {
            executer.beforeExecute {
                withArgument("--max-workers=$threadCount")
            }
        }
    
        def "overlapping outputs prevent parallel execution"() {
            given:
            withParallelThreads(2)
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 14:00:51 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top