Skip to content

Commit 261fad7

Browse files
authored
This PR is to add comments to TestBuild in pkg/ddc/alluxio/engine_test.go. (#5003)
* Add Notation to UpdateDatasetStatus in pkg/ddc/alluxio/engine_test.go. Signed-off-by: shiyi10 <2916736308@qq.com> * Add Notation to UpdateDatasetStatus in pkg/ddc/alluxio/engine_test.go. Signed-off-by: shiyi10 <2916736308@qq.com> * Add Notation to TestBuild in pkg/ddc/alluxio/engine_test.go. Signed-off-by: shiyi10 <2916736308@qq.com> --------- Signed-off-by: shiyi10 <2916736308@qq.com>
1 parent f8848df commit 261fad7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

pkg/ddc/alluxio/engine_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ import (
3030
"k8s.io/apimachinery/pkg/types"
3131
)
3232

33+
// TestBuild tests the build function by creating a fake client with predefined test objects.
34+
// It verifies that the engine is successfully built without any errors.
35+
// Parameters:
36+
// - t *testing.T: The testing object used to report test results.
37+
// Returns:
38+
// - None. It reports test failures using t.Errorf if the build function fails.
3339
func TestBuild(t *testing.T) {
3440
var namespace = v1.Namespace{
3541
ObjectMeta: metav1.ObjectMeta{

0 commit comments

Comments
 (0)