Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for Parallel (0.15 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheParallelTaskIntegrationTest.groovy

        }
    
        @Requires(value = IntegTestPreconditions.NotParallelExecutor, reason = """
    Don't run in parallel mode, as the expectation for the setup build are incorrect
    It could potentially be worth running this in parallel mode to demonstrate the difference between
    parallel and configuration cache
    """)
        def "runs tasks in same project in parallel by default"() {
            server.start()
    
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/ParallelActionExecutionCrossVersionSpec.groovy

            models.projects.path == [':', ':a', ':b']
    
            where:
            args << [
                ["--no-parallel"],
                ["--parallel", "-Dorg.gradle.internal.tooling.parallel=false"]
            ]
        }
    
        @TargetGradleVersion(">=3.4 <6.8")
        def "nested actions do not run in parallel when target Gradle version does not support it"() {
            given:
            setupBuildWithDependencyResolution()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.1K 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/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/testng/TestNGOptionsTest.groovy

                includeGroups == source.includeGroups
                excludeGroups == source.excludeGroups
                configFailurePolicy == source.configFailurePolicy
                listeners == source.listeners
                parallel == source.parallel
                threadCount == source.threadCount
                suiteThreadPoolSize.get() == source.suiteThreadPoolSize.get()
                useDefaultListeners == source.useDefaultListeners
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceParallelExecutionIntegrationTest.groovy

                        }
                    }
                }
            """
        }
    
        @ToBeFixedForIsolatedProjects(because = "allprojects")
        def "tasks run in parallel when no max usages specified"() {
            given:
            withParallelThreads(2)
    
            buildFile << """
                def service = gradle.sharedServices.registerIfAbsent("exclusive", BuildService) {}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h

    //          which represents the first branch of replicate group 0 and
    //          the first branch of parallel group 0.
    // Second instance of "tf.OpC" after flattening will have
    //          `_parallel_execution_ids = "r0:1,p0:0"`
    //          which represents the second branch of replicate group 0 and
    //          the first branch of parallel group 0.
    // First instance of "tf.OpD" after flattening will have
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. src/os/read_test.go

    		t.Fatalf("Stat %q (looking for size %d): %s", path, size, err)
    	}
    	if dir.Size() != size {
    		t.Errorf("Stat %q: size %d want %d", path, dir.Size(), size)
    	}
    }
    
    func TestReadFile(t *testing.T) {
    	t.Parallel()
    
    	filename := "rumpelstilzchen"
    	contents, err := ReadFile(filename)
    	if err == nil {
    		t.Fatalf("ReadFile %s: error expected, none found", filename)
    	}
    
    	filename = "read_test.go"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 02:36:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testerrors/errors_test.go

    func path(file string) string {
    	return filepath.Join("testdata", file)
    }
    
    func check(t *testing.T, file string) {
    	t.Run(file, func(t *testing.T) {
    		testenv.MustHaveGoBuild(t)
    		testenv.MustHaveCGO(t)
    		t.Parallel()
    
    		contents, err := os.ReadFile(path(file))
    		if err != nil {
    			t.Fatal(err)
    		}
    		var errors []*regexp.Regexp
    		for i, line := range bytes.Split(contents, []byte("\n")) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleContextualExecuter.java

            forking(true),
            noDaemon(true),
            parallel(true, true),
            configCache(true),
            isolatedProjects(true);
    
            final public boolean forks;
            final public boolean executeParallel;
    
            Executer(boolean forks) {
                this(forks, false);
            }
    
            Executer(boolean forks, boolean parallel) {
                this.forks = forks;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 18:06:31 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. src/os/exec_unix_test.go

    //go:build unix
    
    package os_test
    
    import (
    	"errors"
    	"internal/testenv"
    	"math"
    	. "os"
    	"runtime"
    	"syscall"
    	"testing"
    )
    
    func TestErrProcessDone(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	p, err := StartProcess(testenv.GoToolPath(t), []string{"go"}, &ProcAttr{})
    	if err != nil {
    		t.Fatalf("starting test process: %v", err)
    	}
    	p.Wait()
    	if got := p.Signal(Kill); got != ErrProcessDone {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top