Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 379 for Parallel (0.15 sec)

  1. platforms/documentation/docs/src/docs/userguide/optimizing-performance/isolated_projects.adoc

    You can also use `-Dorg.gradle.internal.invalidate-coupled-projects=false` to force parallel configuration when there are access problems.
    
    Please be aware that these options disable the validation that makes execution parallel- and caching-safe when isolated projects is enabled,
    so you may see some unexpected behaviour when using them.
    
    == Build logic constraints
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 13:53:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ParallelDependencyResolutionIntegrationTest.groovy

    import org.junit.Rule
    
    @Requires(IntegTestPreconditions.NotParallelExecutor)
    // no point, always runs in parallel
    class ParallelDependencyResolutionIntegrationTest extends AbstractHttpDependencyResolutionTest {
        @Rule BlockingHttpServer blockingServer = new BlockingHttpServer()
    
        def setup() {
            executer.withArgument('--parallel')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. pkg/test/framework/integration/framework_test.go

    	newLevels().
    		// Level 1: bf=20(parallel)
    		Add(20, true).
    		// Level 2: bf=5(parallel)
    		Add(5, true).
    		// Level 3: bf=2(parallel)
    		Add(2, true).
    		Build().
    		Run(t)
    }
    
    func TestMix(t *testing.T) {
    	// Root is always run sync.
    	newLevels().
    		// Level 1: bf=20(parallel)
    		Add(20, true).
    		// Level 2: bf=5(sync)
    		Add(5, false).
    		// Level 3: bf=2(parallel)
    		Add(2, true).
    		Build().
    		Run(t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/EnablingParallelExecutionIntegrationTest.groovy

    @Requires(IntegTestPreconditions.NotParallelExecutor)
    class EnablingParallelExecutionIntegrationTest extends AbstractIntegrationSpec {
    
        def "parallel mode enabled via gradle.properties"() {
            file("gradle.properties") << "org.gradle.parallel=true"
            buildFile << "assert gradle.startParameter.parallelProjectExecutionEnabled"
            expect:
            run()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/lockedfile/transform_test.go

    	}
    	if err := lockedfile.Write(path, bytes.NewReader(buf[:8]), 0666); err != nil {
    		t.Fatal(err)
    	}
    
    	var attempts int64 = 128
    	if !testing.Short() {
    		attempts *= 16
    	}
    	const parallel = 32
    
    	var sem = make(chan bool, parallel)
    
    	for n := attempts; n > 0; n-- {
    		sem <- true
    		go func() {
    			defer func() { <-sem }()
    
    			time.Sleep(time.Duration(rand.Intn(100)) * time.Microsecond)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 22:37:50 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. src/os/exec/exec_windows_test.go

    	_, err := fmt.Fprint(pipe, args[1])
    	if err != nil {
    		fmt.Fprintf(os.Stderr, "writing to pipe failed: %v\n", err)
    		os.Exit(1)
    	}
    	pipe.Close()
    }
    
    func TestPipePassing(t *testing.T) {
    	t.Parallel()
    
    	r, w, err := os.Pipe()
    	if err != nil {
    		t.Error(err)
    	}
    	const marker = "arrakis, dune, desert planet"
    	childProc := helperCommand(t, "pipehandle", strconv.FormatUint(uint64(w.Fd()), 16), marker)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 23:07:55 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerArgumentsIntegrationTest.groovy

        }
    
        def "can enable parallel execution via --parallel property"() {
            given:
            buildScript """
                task writeValue {
                    doLast {
                        file("out.txt").text = gradle.startParameter.parallelProjectExecutionEnabled
                    }
                }
            """
    
            when:
            runner("writeValue", "--parallel")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/process/internal/CancellationBuildOperationIntegrationTest.groovy

                            ${server.callFromBuild("parallel-task-done")}
                        }
                    }
                """
            }
            def numWorkers = (parallelTaskCount / 2) + 2 as int
    
            when:
            server.expectConcurrent(numWorkers, ["parallel-task-done"] * parallelTaskCount + ["before-interrupt"] as String[])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:46:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/test/reproduciblebuilds_test.go

    		"issue20272.go",
    		"issue27013.go",
    		"issue30202.go",
    	}
    
    	testenv.MustHaveGoBuild(t)
    	iters := 10
    	if testing.Short() {
    		iters = 4
    	}
    	t.Parallel()
    	for _, test := range tests {
    		test := test
    		t.Run(test, func(t *testing.T) {
    			t.Parallel()
    			var want []byte
    			tmp, err := os.CreateTemp("", "")
    			if err != nil {
    				t.Fatalf("temp file creation failed: %v", err)
    			}
    			defer os.Remove(tmp.Name())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/assembler/AssemblyLanguageParallelIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "can execute assembler tasks in parallel"() {
            given:
            withComponentForApp()
            createTaskThatRunsInParallelUsingCustomToolchainWith("assembleMainExecutableMainAsm")
            buildFile << """
                // prevent assembly and c compile tasks from running in parallel
                // this is because we don't want the c 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.8K bytes
    - Viewed (0)
Back to top