Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TooLong (0.21 sec)

  1. src/os/exec/exec_test.go

    	}
    
    	return cmd
    }
    
    func TestWaitInterrupt(t *testing.T) {
    	t.Parallel()
    
    	// tooLong is an arbitrary duration that is expected to be much longer than
    	// the test runs, but short enough that leaked processes will eventually exit
    	// on their own.
    	const tooLong = 10 * time.Minute
    
    	// Control case: with no cancellation and no WaitDelay, we should wait for the
    	// process to exit.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  2. pkg/apis/core/validation/validation.go

    	allErrs := field.ErrorList{}
    
    	if len(driverName) == 0 {
    		allErrs = append(allErrs, field.Required(fldPath, ""))
    	}
    
    	if len(driverName) > 63 {
    		allErrs = append(allErrs, field.TooLong(fldPath, driverName, 63))
    	}
    
    	for _, msg := range validation.IsDNS1123Subdomain(strings.ToLower(driverName)) {
    		allErrs = append(allErrs, field.Invalid(fldPath, driverName, msg))
    	}
    
    	return allErrs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
Back to top