Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MemoryCheck (0.1 sec)

  1. cmd/kubeadm/app/preflight/checks_test.go

    	}
    
    	var tests = []struct {
    		minimum        uint64
    		expectedErrors int
    	}{
    		{0, 0},
    		{9999999999999999, 1},
    	}
    
    	for _, rt := range tests {
    		t.Run(fmt.Sprintf("MemoryCheck{%d}", rt.minimum), func(t *testing.T) {
    			warnings, errors := MemCheck{Mem: rt.minimum}.Check()
    			if len(warnings) > 0 {
    				t.Errorf("expected 0 warnings but got %d: %q", len(warnings), warnings)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top