Skip to content

Commit f8848df

Browse files
authored
This PR is to add comments to TestCheckRuntimeHealthy in pkg/ddc/alluxio/health_check_test.go. (#4976)
* Add comments to TestCheckRuntimeHealthy in fluid/pkg/ddc/alluxio/health_check_test.go Signed-off-by: jjqqcj <3060824286@qq.com> * Add comments to TestGenUFSMountOptions in pkg/ddc/alluxio/ufs_test.go (#4907) Signed-off-by: jjqqcj <3060824286@qq.com> * Add comments to TestGenUFSMountOptions in pkg/ddc/alluxio/ufs_test.go (#4907) Signed-off-by: jjqqcj <3060824286@qq.com> * Add comments to TestGenUFSMountOptions in pkg/ddc/alluxio/ufs_test.go (#4907) Signed-off-by: jjqqcj <3060824286@qq.com> --------- Signed-off-by: jjqqcj <3060824286@qq.com>
1 parent 4b0583c commit f8848df

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pkg/ddc/alluxio/health_check_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ import (
3737
"github.com/fluid-cloudnative/fluid/pkg/utils/fake"
3838
)
3939

40+
// TestCheckRuntimeHealthy is a unit test that verifies the health check logic
41+
// for the Jindo runtime environment. It creates a mock runtime and simulates
42+
// different health scenarios, asserting that the status returned by the
43+
// CheckRuntimeHealthy method matches the expected outcome.
4044
func TestCheckRuntimeHealthy(t *testing.T) {
4145
var statefulsetInputs = []appsv1.StatefulSet{
4246
{

0 commit comments

Comments
 (0)