Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/go/go_test.go

    func (tg *testgoData) check(err error) {
    	tg.t.Helper()
    	if err != nil {
    		tg.t.Error(err)
    	}
    }
    
    // parallel runs the test in parallel by calling t.Parallel.
    func (tg *testgoData) parallel() {
    	tg.t.Helper()
    	if tg.ran {
    		tg.t.Fatal("internal testsuite error: call to parallel after run")
    	}
    	for _, e := range tg.env {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  2. src/testing/testing.go

    	return frame.Function
    }
    
    // Parallel signals that this test is to be run in parallel with (and only with)
    // other parallel tests. When a test is run multiple times due to use of
    // -test.count or -test.cpu, multiple instances of a single test never run in
    // parallel with each other.
    func (t *T) Parallel() {
    	if t.isParallel {
    		panic("testing: t.Parallel called multiple times")
    	}
    	if t.isEnvSet {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  3. src/os/os_test.go

    		}
    	}
    }
    
    func TestFileReaddirnames(t *testing.T) {
    	t.Parallel()
    
    	t.Run(".", testReaddirnames(".", dot))
    	t.Run("sysdir", testReaddirnames(sysdir.name, sysdir.files))
    	t.Run("TempDir", testReaddirnames(t.TempDir(), nil))
    }
    
    func TestFileReaddir(t *testing.T) {
    	t.Parallel()
    
    	t.Run(".", testReaddir(".", dot))
    	t.Run("sysdir", testReaddir(sysdir.name, sysdir.files))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

            assertTaskReadyAndNoMoreToStart(finalizer1)
            assertAllWorkComplete()
    
            where:
            continueOnFailure << [true, false]
        }
    
        def "finalizer dependency runs in parallel with finalized task when that dependency is also an entry task"() {
            given:
            Task finalizerDepDep = task("finalizerDepDep", type: Async)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  5. src/cmd/go/internal/test/test.go

    	    whether T.Parallel is called.
    	    By default, -parallel is set to the value of GOMAXPROCS.
    	    Setting -parallel to values higher than GOMAXPROCS may cause degraded
    	    performance due to CPU contention, especially when fuzzing.
    	    Note that -parallel only applies within a single test binary.
    	    The 'go test' command may run tests for different packages
    	    in parallel as well, according to the setting of the -p flag
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    		return nil, nil, fmt.Errorf("pod has unbound immediate PersistentVolumeClaims")
    	}
    	return binder.FindPodVolumes(logger, pod, podVolumeClaims, node)
    }
    
    func TestFindPodVolumesWithoutProvisioning(t *testing.T) {
    	t.Parallel()
    
    	type scenarioType struct {
    		// Inputs
    		pvs     []*v1.PersistentVolume
    		podPVCs []*v1.PersistentVolumeClaim
    		// If nil, use pod PVCs
    		cachePVCs []*v1.PersistentVolumeClaim
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  7. src/cmd/dist/test.go

    			}
    		}
    	}
    }
    
    // runPending runs pending test commands, in parallel, emitting headers as appropriate.
    // When finished, it emits header for nextTest, which is going to run after the
    // pending commands are done (and runPending returns).
    // A test should call runPending if it wants to make sure that it is not
    // running in parallel with earlier tests, or if it has some other reason
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/native/native_software.adoc

    The build worker pool is shared across all build tasks. This means that when using <<performance.adoc#parallel_execution,parallel project execution>>, the maximum number of concurrent individual compilation operations does not increase. For example, if the build machine has 4 processing cores and 10 projects are compiling in parallel, Gradle will only use 4 total workers, not 40.
    
    [[sec:building_a_library]]
    == Building a library
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc

    `maxParallelForks` — default: 1::
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 53.1K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    					status: framework.NewStatus(framework.Skip),
    				},
    			},
    			disable: true,
    		},
    	}
    
    	for name, tc := range testcases {
    		// We can run in parallel because logging is per-test.
    		tc := tc
    		t.Run(name, func(t *testing.T) {
    			t.Parallel()
    			nodes := tc.nodes
    			if nodes == nil {
    				nodes = []*v1.Node{workerNode}
    			}
    			testCtx := setup(t, nodes, tc.claims, tc.classes, tc.schedulings, tc.objs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
Back to top