Skip to content

Commit 6a7df0e

Browse files
author
Peng Zhou
committed
add debug message for Jenkins Pipeline
1 parent be4bb57 commit 6a7df0e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/utils/utils.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ func WaitForPod(ctx context.Context, t *testing.T, client klient.Client, namespa
154154
pod := &corev1.Pod{}
155155
p := utils.RunCommand(`kubectl get ns`)
156156
t.Logf("Kubernetes namespace: %s", p.Result())
157+
p = utils.RunCommand("kubectl get pods --namespace " + "marklogic-operator-system" + " -o wide")
158+
t.Logf("Kubernetes Operator Running Status: %s", p.Result())
159+
157160
for {
158161
t.Logf("Waiting for pod %s in namespace %s ", podName, namespace)
159162
p := utils.RunCommand("kubectl get pods --namespace " + namespace)

0 commit comments

Comments
 (0)