Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for getParallel (0.17 sec)

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

            testNg.setDefaultSuiteName(spec.getDefaultSuiteName());
            testNg.setDefaultTestName(spec.getDefaultTestName());
            if (spec.getParallel() != null) {
                testNg.setParallel(spec.getParallel());
            }
            if (spec.getThreadCount() > 0) {
                testNg.setThreadCount(spec.getThreadCount());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 21:25:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGSpec.java

        }
    
        public int getThreadCount() {
            return threadCount;
        }
    
        public int getSuiteThreadPoolSize() {
            return suiteThreadPoolSize;
        }
    
        public String getParallel() {
            return parallel;
        }
    
        public String getDefaultTestName() {
            return defaultTestName;
        }
    
        public String getDefaultSuiteName() {
            return defaultSuiteName;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestFramework.java

        }
    
        private TestNGSpec toSpec(TestNGOptions options, DefaultTestFilter filter) {
            return new TestNGSpec(filter.toSpec(),
                options.getSuiteName(), options.getTestName(), options.getParallel(), options.getThreadCount(), options.getSuiteThreadPoolSize().get(),
                options.getUseDefaultListeners(), options.getThreadPoolFactoryClass(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/JavaTestProjectGenerator.groovy

            return config
        }
    
        String getProjectName() {
            return config.projectName
        }
    
        String getDaemonMemory() {
            return config.daemonMemory
        }
    
        def getParallel() {
            return config.parallel
        }
    
        def getMaxWorkers() {
            return config.maxWorkers
        }
    
        @Override
        String toString() {
            return config.projectName
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/testng/TestNGOptions.java

         *
         * Not required.
         *
         * If not present, parallel mode will not be selected
         */
        @Nullable
        @Internal
        public String getParallel() {
            return parallel;
        }
    
        public void setParallel(String parallel) {
            this.parallel = parallel;
        }
    
        /**
         * The number of threads to use for this run. Ignored unless the parallel mode is also specified
    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. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

            boolean parallel = nThreads > 1;
            // Propagate the parallel flag to the root session and all of the cloned sessions in each project segment
            session.setParallel(parallel);
            for (ProjectSegment segment : projectBuilds) {
                segment.getSession().setParallel(parallel);
            }
            ExecutorService executor = Executors.newFixedThreadPool(nThreads, new BuildThreadFactory());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  7. src/net/http/main_test.go

    		fmt.Fprintf(os.Stderr, "%d instances of:\n%s\n", count, stack)
    	}
    	return true
    }
    
    // setParallel marks t as a parallel test if we're in short mode
    // (all.bash), but as a serial test otherwise. Using t.Parallel isn't
    // compatible with the afterTest func in non-short mode.
    func setParallel(t *testing.T) {
    	if strings.Contains(t.Name(), "HTTP2") {
    		http.CondSkipHTTP2(t)
    	}
    	if testing.Short() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:49:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. build-logic/performance-testing/src/main/groovy/gradlebuild.performance-templates.gradle

        doLast {
            def projectDirectory = generatedDir.get().asFile
            setMaxWorkers(projectDirectory, 6)
            setMaxHeap(projectDirectory, "1G")
            setParallel(projectDirectory, true)
        }
    }
    
    performanceTest.registerTestProject("bigSwiftApp", BuildBuilderGenerator) {
        projectType = "swift"
        projects = 1
        sourceFiles = 500
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 15:43:39 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/testng/TestNGOptionsTest.groovy

                setExcludeGroups([prefix + "ExcludedGroup"] as Set)
                setConfigFailurePolicy(prefix + "ConfigFailurePolicy")
                setListeners([prefix + "Listener"] as Set)
                setParallel(prefix + "Parallel")
                setThreadCount(intValue)
                getSuiteThreadPoolSize().set(intValue)
                setUseDefaultListeners(booleanValue)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. src/net/http/alpn_test.go

    package http_test
    
    import (
    	"bufio"
    	"bytes"
    	"crypto/tls"
    	"crypto/x509"
    	"fmt"
    	"io"
    	. "net/http"
    	"net/http/httptest"
    	"strings"
    	"testing"
    )
    
    func TestNextProtoUpgrade(t *testing.T) {
    	setParallel(t)
    	defer afterTest(t)
    	ts := httptest.NewUnstartedServer(HandlerFunc(func(w ResponseWriter, r *Request) {
    		fmt.Fprintf(w, "path=%s,proto=", r.URL.Path)
    		if r.TLS != nil {
    			w.Write([]byte(r.TLS.NegotiatedProtocol))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 3K bytes
    - Viewed (0)
Back to top