File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -709,9 +709,11 @@ func FindVolumeGlobalMountPoints(hostExec HostExec, node *v1.Node) sets.String {
709
709
// CreateDriverNamespace creates a namespace for CSI driver installation.
710
710
// The namespace is still tracked and ensured that gets deleted when test terminates.
711
711
func CreateDriverNamespace (f * framework.Framework ) * v1.Namespace {
712
- ginkgo .By (fmt .Sprintf ("Building a driver namespace object, basename %s" , f .BaseName ))
713
- namespace , err := f .CreateNamespace (f .BaseName , map [string ]string {
714
- "e2e-framework" : f .BaseName ,
712
+ ginkgo .By (fmt .Sprintf ("Building a driver namespace object, basename %s" , f .Namespace .Name ))
713
+ // The driver namespace will be bound to the test namespace in the prefix
714
+ namespace , err := f .CreateNamespace (f .Namespace .Name , map [string ]string {
715
+ "e2e-framework" : f .BaseName ,
716
+ "e2e-test-namespace" : f .Namespace .Name ,
715
717
})
716
718
framework .ExpectNoError (err )
717
719
You can’t perform that action at this time.
0 commit comments