Skip to content

Fix or suppress failed tests on Ruby 3.3 - #4375

Merged
kenhys merged 5 commits into
masterfrom
ruby-3.3
Jan 11, 2024
Merged

Fix or suppress failed tests on Ruby 3.3#4375
kenhys merged 5 commits into
masterfrom
ruby-3.3

Conversation

@ashie

@ashie ashie commented Jan 10, 2024

Copy link
Copy Markdown
Member

Which issue(s) this PR fixes:
N/A

What this PR does / why we need it:
Fix failed tests on Ruby 3.3.
They seem just only test's problem except #4058, no need to fix fluentd itself.
For #4058, we have to decide whether to fix in fluentd or Ruby, so mark these tests as pending until decide it.

Docs Changes:
N/A

Release Note:
N/A

@ashie ashie changed the title WIP: Fix or suppress failure test on Ruby 3.3 WIP: Fix or suppress failure tests on Ruby 3.3 Jan 10, 2024
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
@ashie ashie changed the title WIP: Fix or suppress failure tests on Ruby 3.3 Fix or suppress failed tests on Ruby 3.3 Jan 11, 2024
@ashie

ashie commented Jan 11, 2024

Copy link
Copy Markdown
Member Author

BTW I'm considering to stop running CI for Ruby head on push and pull_request events.
Instead, I'll modify to run it per week. I'll do it in another pull request.

@ashie
ashie marked this pull request as ready for review January 11, 2024 02:36
@ashie
ashie requested review from daipom and kenhys January 11, 2024 02:36

@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.

Basically LGTM except typo.

Comment thread test/plugin_helper/test_child_process.rb Outdated
ashie added 4 commits January 11, 2024 17:49
…ables

Make easy to understand what these tests do.

Signed-off-by: Takuro Ashie <ashie@clear-code.com>
Behaviour of `IO#set_encoding` has been changed as of Ruby 3.3.
We don't yet determine how to solve this issue, it might be better to
address in Ruby.

Signed-off-by: Takuro Ashie <ashie@clear-code.com>
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
Signed-off-by: Takuro Ashie <ashie@clear-code.com>

@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 e1516b5 into master Jan 11, 2024
@kenhys
kenhys deleted the ruby-3.3 branch January 11, 2024 10:39

@daipom daipom 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. Thanks!

@kenhys I believe that either a squash merge or creating a merge commit is better than a normal merge.
Is there any reason for doing a normal merge?

@kenhys

kenhys commented Jan 11, 2024

Copy link
Copy Markdown
Contributor

Oops, it seems that applied "Rebase and merge" accidentally.

@ashie ashie mentioned this pull request Jan 15, 2024
ashie added a commit that referenced this pull request Mar 11, 2024
Backport (v1.16):  Fix or suppress failed tests on Ruby 3.3 (#4375)
@ashie ashie added this to the v1.17.0 milestone Apr 30, 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