@@ -39,6 +39,7 @@ import (
3939// and one PVC are created after the function execution
4040func TestCreateVolume (t * testing.T ) {
4141 runtimeInfo , err := base .BuildRuntimeInfo ("hbase" , "fluid" , "alluxio" )
42+ runtimeInfo .SetOwnerDatasetUID ("dummy-dataset-uid" )
4243 if err != nil {
4344 t .Errorf ("fail to create the runtimeInfo with error %v" , err )
4445 }
@@ -134,6 +135,7 @@ func TestCreateVolume(t *testing.T) {
134135// is created in the fake client.
135136func TestCreateFusePersistentVolume (t * testing.T ) {
136137 runtimeInfo , err := base .BuildRuntimeInfo ("hbase" , "fluid" , "alluxio" )
138+ runtimeInfo .SetOwnerDatasetUID ("dummy-dataset-uid" )
137139 if err != nil {
138140 t .Errorf ("fail to create the runtimeInfo with error %v" , err )
139141 }
@@ -186,6 +188,7 @@ func TestCreateFusePersistentVolume(t *testing.T) {
186188func TestCreateFusePersistentVolumeClaim (t * testing.T ) {
187189 // Prepare runtime information for the AlluxioEngine.
188190 runtimeInfo , err := base .BuildRuntimeInfo ("hbase" , "fluid" , "alluxio" )
191+ runtimeInfo .SetOwnerDatasetUID ("dummy-dataset-uid" )
189192 if err != nil {
190193 t .Errorf ("fail to create the runtimeInfo with error %v" , err )
191194 }
0 commit comments