Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for Parallel (0.12 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. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    	BuildRetainKeysDirective bool
    }
    
    type MergeOptions struct {
    	// MergeParallelList indicates if we are merging the parallel list.
    	// We don't merge parallel list when calling mergeMap() in CreateThreeWayMergePatch()
    	// which is called client-side.
    	// We merge parallel list iff when calling mergeMap() in StrategicMergeMapPatch()
    	// which is called server-side
    	MergeParallelList bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
  6. 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)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformWithDependenciesIntegrationTest.groovy

    """
        }
    
        def "transform can access artifact dependencies as a set of files when using ArtifactView"() {
            given:
            setupBuildWithSingleStep()
    
            when:
            executer.withArgument("--parallel")
            run ":app:resolveGreen"
    
            then:
            output.count('Transforming') == 5
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 54.2K bytes
    - Viewed (0)
  8. 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)
  9. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    		}
    	})
    
    	t.Run("priority level concurrency is set to 1, request times out and inner handler hasn't written to the response yet", func(t *testing.T) {
    		t.Parallel()
    		const (
    			userName                                              = "alice"
    			fsName                                                = "test-fs"
    			plName                                                = "test-pl"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  10. 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)
Back to top