We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac33c1b commit c1f7a99Copy full SHA for c1f7a99
1 file changed
pkg/ddc/alluxio/utils_test.go
@@ -23,7 +23,6 @@ import (
23
"reflect"
24
"testing"
25
26
- . "github.com/agiledragon/gomonkey/v2"
27
"github.com/go-logr/logr"
28
appsv1 "k8s.io/api/apps/v1"
29
corev1 "k8s.io/api/core/v1"
@@ -600,6 +599,11 @@ func TestGetDaemonset(t *testing.T) {
600
599
}
601
602
+// TestGetMasterPodInfo tests the getMasterPodInfo function of the AlluxioEngine struct.
603
+// It defines a set of test cases with expected pod and container names based on the engine's name.
604
+// The function iterates through the test cases, initializes an AlluxioEngine instance,
605
+// and verifies whether the returned pod name and container name match the expected values.
606
+
607
func TestGetMasterPodInfo(t *testing.T) {
608
type fields struct {
609
name string
0 commit comments