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

Run GC.verify_compaction_references on CI #1155

Merged
merged 1 commit into from
Feb 23, 2021

Conversation

casperisfine
Copy link
Contributor

This is a followup to #1115

In 3.0 a new API was introduced that ask the GC to move all objects. This is useful to test for bugs like the ones that were fixed in #1115.

cc @sodabrew

@junaruga
Copy link
Contributor

Thanks for the PR! I see the following error on Ruby 3.0 case.

https://travis-ci.org/github/brianmario/mysql2/jobs/756060952

/home/travis/.rvm/scripts/functions/cli: line 243: return: _ret: numeric argument required

The command "rvm get head" failed and exited with 2 during .

Perhaps, it's not '3.0' but "3.0" in the YAML syntax?

@casperisfine
Copy link
Contributor Author

Perhaps, it's not '3.0' but "3.0" in the YAML syntax?

No, that's the same thing in YAML. It might be a travis bug.

Either way travis is shutting down soon, might be a good idea to migrate to GitHub Actions.

@junaruga
Copy link
Contributor

No, that's the same thing in YAML. It might be a travis bug.

OK.

Either way travis is shutting down soon, might be a good idea to migrate to GitHub Actions.

There has already been the issue ticket #1149 and the PR #1154 to migrate to GitHub Actions. However the PR is still working in progress.

@casperisfine casperisfine force-pushed the verify-compaction-references branch from 84f5c5e to c034285 Compare February 17, 2021 08:45
@sodabrew
Copy link
Collaborator

Since #1154 just landed to switch from Travis to Github Actions, could you rebase so we can see this run on GHA?

@casperisfine
Copy link
Contributor Author

sure

@casperisfine casperisfine force-pushed the verify-compaction-references branch from c034285 to 150521d Compare February 23, 2021 16:13
@casperisfine casperisfine force-pushed the verify-compaction-references branch from 150521d to 8d4e741 Compare February 23, 2021 16:18
@casperisfine
Copy link
Contributor Author

Ok, same failures than on master, which I suppose is a success?

@sodabrew
Copy link
Collaborator

Yep! Looks like the expected-to-pass tests pass and the expected-to-fail ones fail. Looks good to merge!

@sodabrew sodabrew merged commit 0ee2053 into brianmario:master Feb 23, 2021
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.

4 participants