Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setupPair (0.25 sec)

  1. pkg/test/framework/components/echo/echotest/run.go

    		t.toEachDeployment(ctx, func(ctx framework.TestContext, to echo.Instances) {
    			// Build and apply per-destination config
    			t.cfg.Context(ctx).BuildFromAndTo(firstCaller, to.Services()).Apply()
    
    			t.setupPair(ctx, callers, echo.Services{to})
    			t.fromEachWorkloadCluster(ctx, from, func(ctx framework.TestContext, from echo.Instance) {
    				filteredDst := t.applyCombinationFilters(from, to)
    				if len(filteredDst) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 27 22:08:42 UTC 2023
    - 13K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/echotest/setup.go

    	return t
    }
    
    func (t *T) hasDestinationSetup() bool {
    	return len(t.deploymentPairSetup)+len(t.destinationDeploymentSetup) > 0
    }
    
    func (t *T) setupPair(ctx framework.TestContext, from echo.Callers, dsts echo.Services) {
    	if !t.hasDestinationSetup() {
    		ctx.SkipDumping()
    		scopes.Framework.Debugf("No echotest setup; skipping test dump at this scope.")
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. pkg/volume/emptydir/empty_dir.go

    	}
    
    	return fmt.Sprintf("%s=%s", hugePagesPageSizeMountOption, pageSize.String()), nil
    
    }
    
    // setupDir creates the directory with the default permissions specified by the perm constant.
    func (ed *emptyDir) setupDir(dir string) error {
    	// Create the directory if it doesn't already exist.
    	if err := os.MkdirAll(dir, perm); err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. pkg/volume/emptydir/empty_dir_test.go

    				mountDetector: &testMountDetector{
    					pageSize: &resource.Quantity{},
    					isMnt:    false,
    					err:      nil,
    				},
    			},
    			shouldFail: true,
    		},
    		"Invalid: setupDir fails": {
    			path: "",
    			ed: &emptyDir{
    				medium: v1.StorageMediumHugePages,
    				pod: &v1.Pod{
    					Spec: v1.PodSpec{
    						Containers: []v1.Container{
    							{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top