Skip to content

Add comments to TestSetupMasterInternal in pkg\ddc\jindo\master_internal_test.go #4978

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lwxin0805 opened this issue May 30, 2025 · 0 comments

Comments

@lwxin0805
Copy link
Contributor

Which function do you want to add comments to?

TestSetupMasterInternal in pkg\ddc\jindo\master_internal_test.go

What comments do you want to add?

// TestSetupMasterInternal 验证 JindoEngine.setupMasterInernal 方法在不同 Helm Release 检查和安装
// 场景下的行为:
// 1. CheckRelease 未被 Hook 时返回错误
// 2. CheckRelease 返回 exist=true 时跳过安装并成功返回
// 3. CheckRelease 返回错误时失败返回
// 4. CheckRelease 返回 exist=false 时,测试 InstallRelease:
// 4.1 InstallRelease 返回错误时失败返回
// 4.2 InstallRelease 成功时成功返回

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant