- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for Parallel (0.23 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go
tt := tt t.Run(tt.name, func(t *testing.T) { t.Parallel() for validRule, expectedCost := range tt.expectCost { validRule := validRule expectedCost := expectedCost testName := validRule if len(testName) > 127 { testName = testName[:127] } t.Run(testName, func(t *testing.T) { t.Parallel() s := withRule(*tt.schema, validRule)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:20:16 UTC 2024 - 80.2K bytes - Viewed (0)