Skip to content

Commit

Permalink
fix: var use in exec fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathebe committed Jul 21, 2023
1 parent 16a3969 commit 2b2fe2f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
9 changes: 6 additions & 3 deletions fixtures/minimal/exec_fail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ metadata:
spec:
interval: 30
exec:
- description: "exec dummy check"
name: exec-fail-check
- name: exec-fail-check
description: "exec dummy check"
script: |
eche "hi there"
echo "hi there"
test:
expr: 'results.stdout == "hello"'

12 changes: 6 additions & 6 deletions fixtures/minimal/exec_pass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ metadata:
spec:
interval: 30
exec:
- description: "exec dummy check"
script: |
echo "hello"
name: exec-pass-check
test:
expr: 'results.Stdout == "hello"'
- name: exec-pass-check
description: "exec dummy check"
script: |
echo "hello"
test:
expr: 'results.stdout == "hello"'

0 comments on commit 2b2fe2f

Please sign in to comment.