Skip to content

Commit

Permalink
Add debug info
Browse files Browse the repository at this point in the history
Signed-off-by: Nandini Chandra <[email protected]>
  • Loading branch information
nachandr committed Dec 12, 2024
1 parent c24c698 commit 60badb9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cypress/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 60badb9

Please sign in to comment.