Skip to content

Commit

Permalink
smoke-tests: update smoke test for new YAML format. (#6127)
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Whelan <[email protected]>
  • Loading branch information
pwhelan authored Sep 30, 2022
1 parent 588e298 commit 02447c8
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions packaging/testing/smoke/container/fluent-bit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,27 @@ service:

pipeline:
inputs:
- random:
tag: test
samples: 10
- name: random
tag: test
samples: 10

filters:
- lua:
match: test
call: append_tag
code: |
function append_tag(tag, timestamp, record)
new_record = record
new_record["tag"] = tag
return 1, timestamp, new_record
end
- name: lua
match: test
call: append_tag
code: |
function append_tag(tag, timestamp, record)
new_record = record
new_record["tag"] = tag
return 1, timestamp, new_record
end
- expect:
match: test
key_exists: tag
key_val_eq: tag test
action: exit
- name: expect
match: test
key_exists: tag
key_val_eq: tag test
action: exit

outputs:
- stdout:
match: test
- name: stdout
match: test

0 comments on commit 02447c8

Please sign in to comment.