Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 727 for Parallel (0.11 sec)

  1. 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)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeSoftwareModelParallelIntegrationTest.groovy

        reason = "always runs in parallel, our mac currently lacks proper toolchain installations")
    abstract class AbstractNativeSoftwareModelParallelIntegrationTest extends AbstractNativeParallelIntegrationTest {
        abstract HelloWorldApp getApp()
    
        @ToBeFixedForConfigurationCache
        def "can execute link executable tasks in parallel"() {
            given:
            withComponentForApp()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGFailFastIntegrationTest.groovy

        def "parallel #parallel execution with #threadCount threads, #maxWorkers workers fails fast"() {
            given:
            buildFile.text = generator.initBuildFile(maxWorkers)
            buildFile << """
                test {
                    useTestNG() {
                        parallel = '$parallel'
                        threadCount = $threadCount
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/ParallelTestExecutionIntegrationTest.groovy

            }
    
            when:
            executer.withArguments("--parallel", "--max-workers=2")
            run('test')
    
            then:
            noExceptionThrown()
        }
    
        // TODO:configuration-cache test currently flaky since cc might run tests in parallel
        @Requires(value = IntegTestPreconditions.NotConfigCached, reason = "cc might cause tests to run in parallel")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  9. 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)
  10. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/ParallelSourceDependencyIntegrationTest.groovy

            then:
            succeeds('resolve', '--parallel', '--max-workers=4')
    
            when:
            // Wait for each project to list versions concurrently
            httpServer.expectConcurrent("A", "B", "C", "D")
            // Only one project should list versions
            repo.expectListVersions()
    
            then:
            succeeds('resolve', '--parallel', '--max-workers=4')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top