Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 377 for Parallel (0.17 sec)

  1. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/ConsoleTestNGUnsupportedTestWorkerFunctionalTest.groovy

        @Rule
        BlockingHttpServer server = new BlockingHttpServer()
    
        def setup() {
            executer.withConsole(ConsoleOutput.Rich)
            executer.withArguments('--parallel', "--max-workers=$MAX_WORKERS")
            server.start()
        }
    
        def "omits parallel test execution if TestNG version does not emit class listener events"() {
            given:
            buildFile << """
                plugins {
                    id 'java-library'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/doc.go

    // A hard-to-spot variant of this form is common in parallel tests:
    //
    //	func Test(t *testing.T) {
    //	    for _, test := range tests {
    //	        t.Run(test.name, func(t *testing.T) {
    //	            t.Parallel()
    //	            use(test) // incorrect, and a data race
    //	        })
    //	    }
    //	}
    //
    // The t.Parallel() call causes the rest of the function to execute
    // concurrent with the loop [<go1.22].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftParallelExecutionIntegrationTest.groovy

             """
        }
    
        def "link task is executed in parallel"() {
            createTaskThatRunsInParallelUsingCustomToolchainWith("linkDebug")
    
            when:
            succeeds "assemble", "parallelTask"
    
            then:
            assertTaskIsParallel("linkDebug")
        }
    
        def "compile task is executed in parallel"() {
            createTaskThatRunsInParallelUsingCustomToolchainWith("compileDebugSwift")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGParallelSuiteIntegrationTest.groovy

            file("suite.xml") << """<?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
    <suite name="AwesomeSuite" parallel="tests" thread-count="${threadCount}">
      $suiteXml
    </suite>"""
        }
    
        @Issue("GRADLE-3190")
        def "runs with multiple parallel threads"() {
            given:
            createTests(200, 20)
    
            when:
            run("test")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. src/os/exec/exec_posix_test.go

    		os.Exit(1)
    	}
    	fmt.Println(pwd)
    }
    
    func TestCredentialNoSetGroups(t *testing.T) {
    	if runtime.GOOS == "android" {
    		maySkipHelperCommand("echo")
    		t.Skip("unsupported on Android")
    	}
    	t.Parallel()
    
    	u, err := user.Current()
    	if err != nil {
    		t.Fatalf("error getting current user: %v", err)
    	}
    
    	uid, err := strconv.Atoi(u.Uid)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 20:21:32 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testsanitizers/tsan_test.go

    	}
    	// The msan tests require support for the -msan option.
    	if !compilerRequiredTsanVersion(goos, goarch) {
    		t.Skipf("skipping on %s/%s; compiler version for -tsan option is too old.", goos, goarch)
    	}
    
    	t.Parallel()
    	requireOvercommit(t)
    	config := configure("thread")
    	config.skipIfCSanitizerBroken(t)
    
    	mustRun(t, config.goCmd("build", "std"))
    
    	cases := []struct {
    		src          string
    		needsRuntime bool
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 21:14:49 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. testing/performance/src/templates/project-with-source/pom.xml

                    <artifactId>maven-surefire-plugin</artifactId>
                    <!--<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)
  8. src/cmd/go/testdata/script/test_fuzz_mutator.txt

    # tests seed values and the worker tests mutated values on the fuzz target.
    
    [short] skip
    env GOCACHE=$WORK/cache
    
    go test -fuzz=FuzzA -fuzztime=100x -parallel=1 -log=fuzz
    go run check_logs.go fuzz fuzz.worker
    
    # TODO(b/181800488): remove -parallel=1, here and below. For now, when a
    # crash is found, all workers keep running, wasting resources and reducing
    # the number of executions available to the minimizer, increasing flakiness.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/rc/WindowsResourceParallelIntegrationTest.groovy

        def "can execute compile windows resource tasks in parallel"() {
            given:
            withComponentsForAppAndSharedLib()
            createTaskThatRunsInParallelUsingCustomToolchainWith("compileMainLibSharedLibraryMainLibRc")
            buildFile << """
                // prevent windows resource and cpp compile tasks from running in parallel
                // this is because we don't want the cpp compile tasks to accidentally use 
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/go/internal/vcweb/vcstest/vcstest_test.go

    	t.Run("overview", func(t *testing.T) {
    		t.Parallel()
    
    		time.Sleep(1 * time.Millisecond) // Give the other handlers time to race.
    
    		resp, err := http.Get(srv.URL)
    		if err == nil {
    			io.Copy(io.Discard, resp.Body)
    			resp.Body.Close()
    		} else {
    			t.Error(err)
    		}
    	})
    
    	t.Cleanup(func() {
    		// The subtests spawned by WalkDir run in parallel. When they complete, this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 11 16:04:21 UTC 2022
    - 3.9K bytes
    - Viewed (0)
Back to top