From 60badb9d66dce10dda13172fa02c268e625511a1 Mon Sep 17 00:00:00 2001 From: Nandini Chandra Date: Wed, 11 Dec 2024 20:12:40 -0600 Subject: [PATCH] Add debug info Signed-off-by: Nandini Chandra --- cypress/utils/utils.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cypress/utils/utils.ts b/cypress/utils/utils.ts index 53830dd1f..aaf0337df 100644 --- a/cypress/utils/utils.ts +++ b/cypress/utils/utils.ts @@ -1859,8 +1859,7 @@ export function validateTackleCr(): void { export function validateMtaOperatorLog(): void { cy.wait(30 * SEC); cy.pause(); - let command = `oc logs $(oc get pods -n openshift-mta| grep mta-operator | cut -d " " -f 1) - -n openshift-mta | grep failed | tail -n 1| awk -F 'failed=' '{print $2}'|cut -d " " -f 1`; + let command = `oc logs $(oc get pods -n openshift-mta| grep mta-operator | cut -d " " -f 1) -n openshift-mta | grep failed | tail -n 1| awk -F 'failed=' '{print $2}'|cut -d " " -f 1`; cy.log("COMMAND:", command); getCommandOutput(command).then((result) => { cy.log("RESULT:", result);