Skip to content

Commit a7d173c

Browse files
authored
This PR is to add comments to TestCheckRuntimeReady in pkg/ddc/jindo/load_data_test.go (#4754)
* Add comments to UpdateDatasetStatus function in dataset.go Signed-off-by: jzr205220020 <1687521610@qq.com> * Add comments to TestCheckRuntimeReady in pkg\ddc\jindo\load_data_test.go Signed-off-by: jzr205220020 <1687521610@qq.com> * Add comments to TestCheckRuntimeReady in pkg\ddc\jindo\load_data_test.go Signed-off-by: jzr205220020 <1687521610@qq.com> * fix: remove blank line Signed-off-by: jzr205220020 <1687521610@qq.com> --------- Signed-off-by: jzr205220020 <1687521610@qq.com>
1 parent feb86bf commit a7d173c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pkg/ddc/jindo/load_data_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,8 @@ func TestGenerateDataLoadValueFileWithRuntimeHDD(t *testing.T) {
667667
}
668668
}
669669

670+
// TestCheckRuntimeReady tests the CheckRuntimeReady function of the JindoEngine.
671+
// It verifies the behavior of the function by mocking the execution of commands in a Kubernetes container
670672
func TestCheckRuntimeReady(t *testing.T) {
671673
mockExecCommon := func(podName string, containerName string, namespace string, cmd []string) (stdout string, stderr string, e error) {
672674
return "", "", nil

0 commit comments

Comments
 (0)