// createNamespace creates a new namespace, and fails the test if it already exists.
// returns the namespace's name.
createNamespace creates a new namespace, and fails the test if it already exists.
returns the namespace's name.
// createNamespace creates a new namespace and fails the test if it already exists . // returns the namespace ' s name .
func createNamespace(t *testing.T, name string) string {
	fullName := testNamespacePrefix
	if name != "" {
		fullName += name + "-"
	}
	fullName += randomHexString(t, k8sResourceNameLengthLimit-len(fullName))
	runKubectlCommandOrFail(t, "create", "namespace", fullName)
	return fullName
}
func createNamespace ( t * testing . T , name string ) string { fullName := testNamespacePrefix if name != " " { fullName += name + " " } fullName += randomHexString ( t , k8sResourceNameLengthLimit - len ( fullName ) ) runKubectlCommandOrFail ( t , " " , " " , fullName ) return fullName }
createNamespace creates a new namespace, and fails the test if it already exists.
createNamespace creates a new namespace and fails the test if it already exists .