We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a69998c commit 8a89517Copy full SHA for 8a89517
pkg/ddc/alluxio/health_check_test.go
@@ -242,6 +242,11 @@ func TestCheckRuntimeHealthy(t *testing.T) {
242
}
243
244
245
+// TestCheckMasterHealthy is a test function that verifies the health status of master nodes
246
+// in a simulated Kubernetes environment. It uses fake clients to create test StatefulSets
247
+// and AlluxioRuntime objects, and checks if the master nodes are healthy based on predefined
248
+// conditions. The test cases include scenarios for different engines (HBase and Spark) with
249
+// expected outcomes for error presence and master phase status.
250
func TestCheckMasterHealthy(t *testing.T) {
251
var statefulsetInputs = []appsv1.StatefulSet{
252
{
0 commit comments