Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for wantSum (0.08 sec)

  1. cmd/kubeadm/app/phases/addons/dns/dns_test.go

    		printManifest bool
    	}
    	tests := []struct {
    		name    string
    		args    args
    		wantOut string
    		wantErr bool
    	}{
    		{
    			name: "cfg is empty",
    			args: args{
    				cfg:           &kubeadmapi.ClusterConfiguration{},
    				client:        newMockClientForTest(t, 2, 1, "", "", ""),
    				printManifest: false,
    			},
    			wantOut: "",
    			wantErr: true,
    		},
    		{
    			name: "cfg is valid and not print Manifest",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. pkg/controller/job/indexed_job_utils_test.go

    	cases := map[string]struct {
    		pods        []indexPhase
    		wantRm      []indexPhase
    		wantLeft    []indexPhase
    		completions int32
    	}{
    		"all unique": {
    			pods: []indexPhase{
    				{noIndex, v1.PodPending},
    				{"2", v1.PodPending},
    				{"5", v1.PodRunning},
    				{"6", v1.PodRunning},
    			},
    			wantRm: []indexPhase{
    				{noIndex, v1.PodPending},
    				{"6", v1.PodRunning},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top