Skip to content

Commit 7ebd969

Browse files
authored
Add comments to TestGenerateEFCValueFile in fluid/pkg/ddc/efc/master_internal_test.go (#5740)
Signed-off-by: QZero233 <2540384328@qq.com>
1 parent 8de67ca commit 7ebd969

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

pkg/ddc/efc/master_internal_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,12 @@ func TestSetupMasterInternal(t *testing.T) {
140140
}
141141
}
142142

143+
// TestGenerateEFCValueFile tests the generateEFCValueFile method to verify it can correctly
144+
// generate the Helm Values configuration file for EFC Runtime.
145+
// It creates mock EFCRuntime and Dataset objects with Aliyun NAS NFS mount point,
146+
// initializes a fake K8s client, constructs an EFCEngine instance, sets up the runtime
147+
// port allocator, and then calls the generateEFCValueFile method to generate the
148+
// configuration file, validating that the process completes without errors.
143149
func TestGenerateEFCValueFile(t *testing.T) {
144150
testObjs := []runtime.Object{}
145151
efcruntime := &datav1alpha1.EFCRuntime{

0 commit comments

Comments
 (0)