Skip to content

ci: filter_parser: reorganize tests for abnormal cases - #4638

Merged
kenhys merged 5 commits into
fluent:masterfrom
daipom:filter_parser-reorganize-tests-for-abnormal-cases
Nov 27, 2024
Merged

ci: filter_parser: reorganize tests for abnormal cases#4638
kenhys merged 5 commits into
fluent:masterfrom
daipom:filter_parser-reorganize-tests-for-abnormal-cases

Conversation

@daipom

@daipom daipom commented Sep 16, 2024

Copy link
Copy Markdown
Contributor

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.

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

daipom commented Sep 17, 2024

Copy link
Copy Markdown
Contributor Author

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

@daipom
daipom force-pushed the filter_parser-reorganize-tests-for-abnormal-cases branch 2 times, most recently from 9b88e43 to 203f416 Compare September 18, 2024 02:42
@daipom
daipom requested review from Watson1978 and kenhys September 18, 2024 04:31

@Watson1978 Watson1978 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me :)

@daipom

daipom commented Sep 20, 2024

Copy link
Copy Markdown
Contributor Author

@kenhys Could you please review this?

@daipom daipom added this to the v1.18.0 milestone Sep 24, 2024
@daipom daipom added the backport to v1.16 We will backport this fix to the LTS branch label Sep 24, 2024

@kenhys kenhys left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please split into meaningful commits making it easy to review.

@daipom
daipom force-pushed the filter_parser-reorganize-tests-for-abnormal-cases branch from 203f416 to e5b3b20 Compare November 26, 2024 05:05
@daipom

daipom commented Nov 26, 2024

Copy link
Copy Markdown
Contributor Author

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

Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com>
Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com>
Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com>
Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com>
Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com>
@daipom
daipom force-pushed the filter_parser-reorganize-tests-for-abnormal-cases branch from e5b3b20 to 788417d Compare November 26, 2024 05:41
@daipom daipom changed the title filter_parser: reorganize tests for abnormal cases ci: filter_parser: reorganize tests for abnormal cases Nov 26, 2024
@daipom
daipom requested a review from kenhys November 26, 2024 06:28

@kenhys kenhys left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@kenhys
kenhys merged commit 4de960b into fluent:master Nov 27, 2024
@daipom
daipom deleted the filter_parser-reorganize-tests-for-abnormal-cases branch November 27, 2024 02:13
@daipom

daipom commented Nov 27, 2024

Copy link
Copy Markdown
Contributor Author

Thanks!

@daipom daipom removed the backport to v1.16 We will backport this fix to the LTS branch label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants