Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestValidateNodeRegistrationOptions (0.39 sec)

  1. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    		if (len(actual) == 0) != rt.expected {
    			t.Errorf(
    				"failed ValidateTokenGroups:\n\texpected: %t\n\t  actual: %t",
    				rt.expected,
    				(len(actual) == 0),
    			)
    		}
    	}
    }
    
    func TestValidateNodeRegistrationOptions(t *testing.T) {
    	var tests = []struct {
    		nodeName       string
    		expectedErrors bool
    	}{
    		{"", true},                  // node name can't be empty
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top