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

TEST: relax method invocation checking for KernelRequireTest #460

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

mtasaka
Copy link
Contributor

@mtasaka mtasaka commented Nov 20, 2023

With ruby3.3.0dev, "require" method may invoke :to_str or :to_path more than once in ruby internal. To rescue this, relax method invocation checking for KernelRequireTest.

Closes #459 .

With ruby3.3.0dev, "require" method may invoke :to_str or :to_path
more than once in ruby internal. To rescue this, relax
method invocation checking for KernelRequireTest.

Closes Shopify#459 .
@casperisfine
Copy link
Contributor

The Ruby 2.6 failure is weird 🤔

@mtasaka
Copy link
Contributor Author

mtasaka commented Nov 20, 2023

I have signed the CLA!

@casperisfine
Copy link
Contributor

I'm able to reproduce it locally, using Ruby 2.6.9 but it requires the same test seed. So there is likely something leaking between tests.

I wonder if perhaps it's the same reason you were having issues an me not?

@casperisfine
Copy link
Contributor

Nevermind, this leaky failure is pre-existing.

@casperisfine casperisfine merged commit bbdf48b into Shopify:main Nov 20, 2023
@mtasaka
Copy link
Contributor Author

mtasaka commented Nov 20, 2023

Thank you!

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.

Testsuite fails with ruby3.3.0dev
2 participants