File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,15 @@ func TestSetupMasterInternal(t *testing.T) {
160160 wrappedUnhookInstallRelease ()
161161}
162162
163+ // TestGenerateJindoValueFile tests the functionality of generating Jindo value files for Fluid's JindoRuntime.
164+ // This test creates a mock environment with a JindoRuntime instance and associated Dataset,
165+ // then verifies that the engine can properly generate configuration values without errors.
166+ // The test covers:
167+ // - Setting up a JindoRuntime with specific tiered storage configuration
168+ // - Creating a fake client with test objects
169+ // - Building runtime information
170+ // - Configuring port allocation
171+ // - Validating the value file generation process
163172func TestGenerateJindoValueFile (t * testing.T ) {
164173 jindoruntime := & datav1alpha1.JindoRuntime {
165174 ObjectMeta : metav1.ObjectMeta {
You can’t perform that action at this time.
0 commit comments