Skip to content

Commit 1d52733

Browse files
committed
Make test more robust and make sure it doesn't break if output contains
additional "succeeded" string (e.g. for the status field value).
1 parent 816fc79 commit 1d52733

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packs/tests/actions/chains/test_inquiry_chain.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ chain:
177177
- name: "assert_workflow_succeeded_prep"
178178
ref: "core.local"
179179
params:
180-
cmd: echo " { $(echo '{{ get_workflow_details_3.stdout }}' | grep succeeded | head -1) } "
180+
cmd: echo " { $(echo '{{ get_workflow_details_3.stdout }}' | grep -v status | grep succeeded | head -1) } "
181181
on-success: "assert_workflow_succeeded"
182182

183183
- name: "assert_workflow_succeeded"

0 commit comments

Comments
 (0)