Skip to content

Commit

Permalink
Merge pull request #5 from warpstreamlabs/ra/fix-test
Browse files Browse the repository at this point in the history
Fix tests / CI
  • Loading branch information
richardartoul authored May 31, 2024
2 parents ee204eb + 0f199ce commit c092669
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
File renamed without changes.
12 changes: 6 additions & 6 deletions config/test/cookbooks/filtering.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
pipeline:
processors:
- bloblang: |
root = match {
meta("topic").or("") == "foo" ||
doc.type.or("") == "bar" ||
doc.urls.contains("https://warpstreamlabs.github.io/bento/").catch(false) => deleted()
}
- bloblang: |
root = match {
meta("topic").or("") == "foo" ||
doc.type.or("") == "bar" ||
doc.urls.contains("https://warpstreamlabs.github.io/bento/").catch(false) => deleted()
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ tests:
- content: '{"doc":{"should":"not remain","type":"bar"},"id":"3"}'
- content: '{"doc":{"should":"not remain","urls":["https://warpstreamlabs.github.io/bento/"]},"id":"4"}'
output_batches:
- - content_equals: '{"doc":{"should":"remain"},"id":"1"}'
- - content_equals: '{"doc":{"should":"remain"},"id":"1"}'

0 comments on commit c092669

Please sign in to comment.