From a1f2adfcfffab15d2b259fe9b8bcc914960dcfa3 Mon Sep 17 00:00:00 2001 From: Richard Artoul Date: Thu, 30 May 2024 23:50:54 -0400 Subject: [PATCH 1/2] fix test --- config/test/cookbooks/filtering.yaml | 12 ++++++------ ...g_benthos_test.yaml => filtering_bento_test.yaml} | 2 +- ...thos_test.yaml => other_mappings_bento_test.yaml} | 0 ...s_test.yaml => unit_test_example_bento_test.yaml} | 0 4 files changed, 7 insertions(+), 7 deletions(-) rename config/test/cookbooks/{filtering_benthos_test.yaml => filtering_bento_test.yaml} (99%) rename config/test/resources/{other_mappings_benthos_test.yaml => other_mappings_bento_test.yaml} (100%) rename config/test/{unit_test_example_benthos_test.yaml => unit_test_example_bento_test.yaml} (100%) diff --git a/config/test/cookbooks/filtering.yaml b/config/test/cookbooks/filtering.yaml index 43910667f..7ffb50212 100644 --- a/config/test/cookbooks/filtering.yaml +++ b/config/test/cookbooks/filtering.yaml @@ -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() - } \ No newline at end of file + - bloblang: | + root = match { + meta("topic").or("") == "foo" || + doc.type.or("") == "bar" || + doc.urls.contains("https://warpstreamlabs.github.io/bento/").catch(false) => deleted() + } diff --git a/config/test/cookbooks/filtering_benthos_test.yaml b/config/test/cookbooks/filtering_bento_test.yaml similarity index 99% rename from config/test/cookbooks/filtering_benthos_test.yaml rename to config/test/cookbooks/filtering_bento_test.yaml index 6ed6c99b4..ce651faae 100644 --- a/config/test/cookbooks/filtering_benthos_test.yaml +++ b/config/test/cookbooks/filtering_bento_test.yaml @@ -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"}' \ No newline at end of file + - - content_equals: '{"doc":{"should":"remain"},"id":"1"}' diff --git a/config/test/resources/other_mappings_benthos_test.yaml b/config/test/resources/other_mappings_bento_test.yaml similarity index 100% rename from config/test/resources/other_mappings_benthos_test.yaml rename to config/test/resources/other_mappings_bento_test.yaml diff --git a/config/test/unit_test_example_benthos_test.yaml b/config/test/unit_test_example_bento_test.yaml similarity index 100% rename from config/test/unit_test_example_benthos_test.yaml rename to config/test/unit_test_example_bento_test.yaml From 0f199ced80735d866ae88f2e390ec095040ce882 Mon Sep 17 00:00:00 2001 From: Richard Artoul Date: Thu, 30 May 2024 23:55:48 -0400 Subject: [PATCH 2/2] fix test --- config/test/{awk_benthos_test.yaml => awk_bento_test.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename config/test/{awk_benthos_test.yaml => awk_bento_test.yaml} (100%) diff --git a/config/test/awk_benthos_test.yaml b/config/test/awk_bento_test.yaml similarity index 100% rename from config/test/awk_benthos_test.yaml rename to config/test/awk_bento_test.yaml