We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8de67ca commit 7ebd969Copy full SHA for 7ebd969
1 file changed
pkg/ddc/efc/master_internal_test.go
@@ -140,6 +140,12 @@ func TestSetupMasterInternal(t *testing.T) {
140
}
141
142
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.
149
func TestGenerateEFCValueFile(t *testing.T) {
150
testObjs := []runtime.Object{}
151
efcruntime := &datav1alpha1.EFCRuntime{
0 commit comments