File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1279,6 +1279,18 @@ func TestGenerateNonNativeMountsInfo(t *testing.T) {
1279
1279
}
1280
1280
}
1281
1281
1282
+ // TestTransformMasterMountConfigMap verifies the behavior of AlluxioEngine.transformMasters()
1283
+ // in processing mount configurations (including encrypted secrets) and generating the expected
1284
+ // Alluxio Master specifications.
1285
+ //
1286
+ // Key test cases:
1287
+ // - Validates correct handling of non-native mounts (e.g., remote HBase storage with secret references).
1288
+ // - Ensures generated volumes/volumeMounts align with Kubernetes Secret configurations.
1289
+ // - Checks MountConfigStorage assignment (e.g., ConfigMap usage).
1290
+ //
1291
+ // Example:
1292
+ // Input: Dataset with encrypted mount options → Output: Alluxio Master spec with secret volumes
1293
+ // and properly formatted mount commands.
1282
1294
func TestTransformMasterMountConfigMap (t * testing.T ) {
1283
1295
const (
1284
1296
SecretName = "alluxio-secret"
You can’t perform that action at this time.
0 commit comments