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

Fix simple test on platforms where compaction is not supported #5004

Merged
merged 1 commit into from
Oct 22, 2021

Conversation

XrXr
Copy link
Member

@XrXr XrXr commented Oct 21, 2021

844588f made it so that trying to call
gc_verify_compaction_references on unsupported platform result in an
exception rather than a crash. Rescue the exception in a simple test
that uses gc_verify_compaction_references.


The log linked in 844588f says that the crash might be coming from this YJIT bootstrap test. If the theory is right we should start seeing NotImplementedError on CI from PPC. cc @tenderlove

Update, the theory is correct: http://rubyci.s3.amazonaws.com/ppc64le/ruby-master/log/20211022T130007Z.log.html.gz

844588f made it so that trying to call
gc_verify_compaction_references on unsupported platform result in an
exception rather than a crash. Rescue the exception in a simple test
that uses gc_verify_compaction_references.
@XrXr XrXr merged commit ba4bf8a into ruby:master Oct 22, 2021
@XrXr XrXr deleted the rescue-not-implemented branch October 22, 2021 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant