Skip to content

Fix missing require in mri-core tests#7567

Merged
headius merged 1 commit intojruby:masterfrom
jcharaoui:fix-mri-test-enum
Jan 11, 2023
Merged

Fix missing require in mri-core tests#7567
headius merged 1 commit intojruby:masterfrom
jcharaoui:fix-mri-test-enum

Conversation

@jcharaoui
Copy link
Contributor

Its absence causes an intermittent failure, likely caused by load ordering randomness.

TestEnumerable#test_sum:
NameError: uninitialized constant TestEnumerable::SimpleDelegator
    org/jruby/RubyModule.java:3947:in `const_missing'
        /tmp/autopkgtest-lxc.wadx2atf/downtmp/autopkgtest_tmp/test/mri/ruby/test_enum.rb:1051:in `test_sum'

Its absence causes an intermittent failure, likely caused by load ordering
randomness.

TestEnumerable#test_sum:
NameError: uninitialized constant TestEnumerable::SimpleDelegator
    org/jruby/RubyModule.java:3947:in `const_missing'
        /tmp/autopkgtest-lxc.wadx2atf/downtmp/autopkgtest_tmp/test/mri/ruby/test_enum.rb:1051:in `test_sum'
@headius
Copy link
Member

headius commented Jan 10, 2023

Not surprising. We should probably fix this upstream in the MRI tests, too, since we sync from their repo.

@headius headius added this to the JRuby 9.4.1.0 milestone Jan 11, 2023
@headius headius merged commit c49c061 into jruby:master Jan 11, 2023
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.

2 participants