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

Sequence filters break when running full RSpec suite under JRuby #31

Closed
csw opened this issue Jun 9, 2012 · 5 comments
Closed

Sequence filters break when running full RSpec suite under JRuby #31

csw opened this issue Jun 9, 2012 · 5 comments
Assignees
Labels

Comments

@csw
Copy link
Owner

csw commented Jun 9, 2012

Not sure why, but the "sequence_filter" tests fail when running rspec but pass when running rspec -e sequence_filter. Investigating.

@ghost ghost assigned csw Jun 9, 2012
@csw
Copy link
Owner Author

csw commented Jun 9, 2012

Bug occurs, causing sequence_filter tests to fail, under JRuby 1.7.0.preview1 when running rake spec, or rspec -t bug on the repro branch.

Can be avoided by any of the following:

  • running the sequence_filter tests alone,
  • disabling any of the three sets of #fetch_blocks tests marked :bug
  • setting @sequence_filter = nil in the Parser constructor
  • testing @sequence_filter rather than sequence_filter in #parse_block_data.

Maybe some kind of compiler bug?

@csw
Copy link
Owner Author

csw commented Jun 22, 2012

Implemented workaround for this. Leaving bug open for working out JRuby bug report.

@csw
Copy link
Owner Author

csw commented Jul 9, 2012

To reproduce:

$ git clone https://github.com/csw/bioruby-maf.git
$ cd bioruby-maf
$ git checkout jruby-sequence-filter-bug
$ rvm use jruby-head [or equivalent]
$ bundle install
$ rspec -e sequence_filter
[passes]
$ rspec -t bug
[fails]

@csw
Copy link
Owner Author

csw commented Jul 9, 2012

Filed JRUBY-6768.

@csw
Copy link
Owner Author

csw commented Jul 18, 2012

This is now fixed on jruby master.

@csw csw closed this as completed Jul 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant