Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: filter_parser: reorganize tests for abnormal cases #4638

Merged

Conversation

daipom
Copy link
Contributor

@daipom daipom commented Sep 16, 2024

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
Copy link
Contributor Author

daipom commented Sep 17, 2024

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 kenhys and Watson1978 September 18, 2024 04:31
Copy link
Contributor

@Watson1978 Watson1978 left a comment

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
Copy link
Contributor Author

daipom commented Sep 20, 2024

@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 LTS We will backport this fix to the LTS branch label Sep 24, 2024
Copy link
Contributor

@kenhys kenhys left a comment

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
Copy link
Contributor Author

daipom commented Nov 26, 2024

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
Copy link
Contributor

@kenhys kenhys left a comment

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
15 of 16 checks passed
@daipom daipom deleted the filter_parser-reorganize-tests-for-abnormal-cases branch November 27, 2024 02:13
@daipom
Copy link
Contributor Author

daipom commented Nov 27, 2024

Thanks!

@daipom daipom removed the backport to LTS 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