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

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

test/mri/psych//test_yaml.rb fails with enable system assertions #3365

mkristian opened this issue Oct 2, 2015 · 0 comments

Comments

@mkristian
Copy link
Member

$ 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)

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

No branches or pull requests

2 participants