File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1279,6 +1279,19 @@ func TestGenerateNonNativeMountsInfo(t *testing.T) {
12791279 }
12801280}
12811281
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.
1294+ func TestTransformMasterMountConfigMap (t * testing.T ) { ... }
12821295func TestTransformMasterMountConfigMap (t * testing.T ) {
12831296 const (
12841297 SecretName = "alluxio-secret"
You can’t perform that action at this time.
0 commit comments