Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectedNames (0.18 sec)

  1. pkg/controller/job/job_controller_test.go

    		} else {
    			gotIndexes.Insert(ix)
    		}
    		expectedName := fmt.Sprintf("%s-%d", jobName, ix)
    		if expectedName != p.Spec.Hostname {
    			t.Errorf("Got pod hostname %s, want %s", p.Spec.Hostname, expectedName)
    		}
    		expectedName += "-"
    		if expectedName != p.GenerateName {
    			t.Errorf("Got pod generate name %s, want %s", p.GenerateName, expectedName)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_builder_test.go

    			Raw: map[string]any{
    				security.CredentialMetaDataName: "true",
    			},
    		},
    	}
    
    	cases := []struct {
    		name         string
    		expectedName string
    		expectedPath string
    	}{
    		{
    			name:         "uds",
    			expectedName: security.SDSExternalClusterName,
    			expectedPath: security.CredentialNameSocketPath,
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
Back to top