Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 527 for Parallel (0.11 sec)

  1. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/RunnerFactory.groovy

        private SmokeTestGradleRunner newKotlinRunner(boolean parallel, VersionNumber kotlinVersion, List<String> tasks) {
            List<String> args = []
    
            // Parallel workers in Kotlin is enabled by Gradle's --parallel flag. See https://youtrack.jetbrains.com/issue/KT-46401/
            // For context on why we test with parallel workers see https://github.com/gradle/gradle/pull/10404
            if (parallel) {
                args = ["--parallel"]
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. 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)
  3. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy

                run ":aPing", ":bPing", ":cPing", ":dPing"
            }
        }
    
        def "tasks are run in parallel if there are tasks without async work running in a different project using --parallel"() {
            given:
            executer.beforeExecute {
                withArgument("--parallel")
            }
            withParallelThreads(3)
    
            expect:
            2.times {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 14:00:51 UTC 2024
    - 21K bytes
    - Viewed (0)
  4. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaIncrementalExecutionPerformanceTest.groovy

            @Scenario(type = PER_COMMIT, operatingSystems = LINUX, testProjects = ["largeJavaMultiProject", "largeMonolithicJavaProject"], iterationMatcher = '.*parallel false.*'),
        ])
        def "up-to-date assemble (parallel #parallel)"() {
            given:
            runner.tasksToRun = ['assemble']
            runner.args += ["-Dorg.gradle.parallel=$parallel"]
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. testing/performance/src/performanceTest/groovy/org/gradle/performance/experiment/java/ParallelBuildPerformanceTest.groovy

    )
    class ParallelBuildPerformanceTest extends AbstractCrossBuildPerformanceTest {
    
        def "clean assemble with 4 parallel workers"() {
            given:
            runner.testGroup = "parallel builds"
            runner.buildSpec {
                displayName("parallel")
                invocation {
                    args("-Dorg.gradle.parallel=true", "--max-workers=4")
                }
            }
            runner.baseline {
                displayName("serial")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/testing/testing_test.go

    		if got := recover(); got != want {
    			t.Fatalf("expected panic; got %#v want %q", got, want)
    		}
    	}()
    
    	t.Parallel()
    
    	t.Setenv("GO_TEST_KEY_1", "value")
    }
    
    func TestSetenvWithParallelParentBeforeSetenv(t *testing.T) {
    	t.Parallel()
    
    	t.Run("child", func(t *testing.T) {
    		defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. pkg/test/framework/test.go

    	Run(fn func(t TestContext))
    	// RunParallel runs this test in parallel with other children of the same parent test/suite. Under the hood,
    	// this relies on Go's t.Parallel() and will, therefore, have the same behavior.
    	//
    	// A parallel test will run in parallel with siblings that share the same parent test. The parent test function
    	// will exit before the parallel children are executed. It should be noted that if the parent test is prevented
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.h

                                                    bool is_fetch_op) const;
    
      // Returns the parallel ids of the op.
      ParallelIdsMap GetParallelIdsMap(Operation* op);
    
      // Converts from read/write state that relates ops with the same parallel id
      // to a set of last accesses for use with other parallel ids. Reads/writes
      // between parallel ids are conservatively approximated as writes.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_fail_fast.txt

    	t.Logf("LOG: %s", t.Name())
    }
    
    func TestParallelFailingA(t *testing.T) {
    	t.Parallel()
    	t.Errorf("FAIL - %s", t.Name())
    }
    
    func TestParallelFailingB(t *testing.T) {
    	t.Parallel()
    	t.Errorf("FAIL - %s", t.Name())
    }
    
    func TestParallelFailingSubtestsA(t *testing.T) {
    	t.Parallel()
    	t.Run("TestFailingSubtestsA1", func(t *testing.T) {
    		t.Errorf("FAIL - %s", t.Name())
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top