fluentd icon indicating copy to clipboard operation
fluentd copied to clipboard

filter_parser: reorganize tests for abnormal cases

Open daipom opened this issue 1 year ago • 2 comments

Which issue(s) this PR fixes: None.

What this PR does / why we need it: Adds and reorganizes tests of filter_parser for abnormal cases.

The following PR will significantly change the implementation of filter_parser.

  • #4620

However, currently, there aren't enough tests for abnormal cases. This condition makes it difficult to safely make such a large change. This PR solves the problem.

Docs Changes: Not needed.

Release Note: Same as the title. (Or not needed because this changes only the test codes.)

daipom avatar Sep 16 '24 15:09 daipom

Ruby 2.7 tests fail because Ruby 2.7 does not support Hash#except. I'm fixing it.

daipom avatar Sep 17 '24 02:09 daipom

@kenhys Could you please review this?

daipom avatar Sep 20 '24 06:09 daipom

Rebased to the latest master. I'll split this fix into several commits.

daipom avatar Nov 26 '24 05:11 daipom

Thanks!

daipom avatar Nov 27 '24 02:11 daipom