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/mri/psych//test_yaml.rb fails with enable system assertions #3365

Closed
mkristian opened this Issue Oct 2, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@mkristian
Member

mkristian commented Oct 2, 2015

$ bin/jruby -J-esa test/mri/psych//test_yaml.rb 
MiniTest::Unit::TestCase is now Minitest::Test. From /Users/cmeier/projects/active/jruby/test/mri/psych/helper.rb:8:in `<module:Psych>'
MiniTest::Unit::TestCase is now Minitest::Test. From test/mri/psych//test_yaml.rb:13:in `<top>'
Run options: --seed 52993

# Running:

..........E......................................................

Finished in 1.444946s, 44.9844 runs/s, 187.5503 assertions/s.

  1) Error:
Psych_Unit_Tests#test_symbol_cycle:
Java::JavaLang::AssertionError: 
    org.jruby.util.ByteList.setEncoding(ByteList.java:1399)
    org.jruby.RubySymbol.associateEncoding(RubySymbol.java:161)
    org.jruby.RubySymbol.newSymbol(RubySymbol.java:206)
    org.jruby.ir.operands.Symbol.createCacheObject(Symbol.java:35)
    org.jruby.ir.operands.ImmutableLiteral.cachedObject(ImmutableLiteral.java:63)

this is the reason travis is currently red as the tests running with embedded jruby with enabled system assertions (default with junit)

@mkristian mkristian added this to the JRuby 9.0.3.0 milestone Oct 2, 2015

@headius headius closed this in b0d118b Oct 6, 2015

@headius headius modified the milestones: JRuby 9.0.2.0, JRuby 9.0.3.0 Oct 6, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment