File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1131,6 +1131,23 @@ func TestTransformFuseProperties(t *testing.T) {
11311131 }
11321132}
11331133
1134+ // TestGenerateNonNativeMountsInfo validates the generation of non-local storage mount configurations for Alluxio engine.
1135+ //
1136+ // Functionality:
1137+ // - Tests the logic that converts Dataset storage definitions into Alluxio mount commands
1138+ // - Filters out local storage types (e.g. pvc://)
1139+ // - Handles security credential injection from Kubernetes Secrets
1140+ // - Verifies command argument formatting for different storage protocols
1141+ //
1142+ // Parameters:
1143+ // - t *(testing.T) : Go test framework handler
1144+ //
1145+ // Returns:
1146+ // - No direct return value
1147+ // - Fails test through t.Fatalf if:
1148+ // 1. Unexpected error occurs during generation (err != nil)
1149+ // 2. Generated commands mismatch wantValue expectations
1150+ // 3. Protocol handling violates defined rules
11341151func TestGenerateNonNativeMountsInfo (t * testing.T ) {
11351152 const (
11361153 SecretName = "ds-secret"
You can’t perform that action at this time.
0 commit comments