Created
January 27, 2010 02:51
-
-
Save agrimm/287499 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
See also http://gist.github.com/286775 | |
#This test used 5 threads, and 500 alignments. | |
Andrew-Grimms-MacBook-Pro:alignment_threading_replication agrimm$ rake | |
(in /Users/agrimm/ruby/alignment_threading_replication) | |
Loaded suite test/test_multithreaded_alignment | |
Started | |
F | |
Finished in 3.202942 seconds. | |
1) Failure: | |
test_alignment_works_in_multiple_threads(TestAlignment) [test/test_multithreaded_alignment.rb:34]: | |
Can't handle multiple threaded scenario. | |
Exception raised: | |
Class: <RuntimeError> | |
Message: <"alignment result is inconsistent with input data"> | |
---Backtrace--- | |
/Library/Ruby/Gems/1.8/gems/bio-1.4.0/lib/bio/alignment.rb:2083:in `do_align' | |
test/test_multithreaded_alignment.rb:50:in `join' | |
test/test_multithreaded_alignment.rb:50:in `test_alignment_works_in_multiple_threads' | |
test/test_multithreaded_alignment.rb:50:in `each' | |
test/test_multithreaded_alignment.rb:50:in `test_alignment_works_in_multiple_threads' | |
test/test_multithreaded_alignment.rb:34:in `test_alignment_works_in_multiple_threads' | |
--------------- | |
1 tests, 1 assertions, 1 failures, 0 errors | |
rake aborted! | |
Command failed with status (1): [/System/Library/Frameworks/Ruby.framework/...] | |
/Users/agrimm/ruby/alignment_threading_replication/rakefile:4 | |
(See full trace by running task with --trace) | |
Andrew-Grimms-MacBook-Pro:alignment_threading_replication agrimm$ ruby -v | |
ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] | |
Andrew-Grimms-MacBook-Pro:alignment_threading_replication agrimm$ ruby -e 'require "rubygems"; require "bio"; p Bio::BIORUBY_VERSION' | |
[1, 4, 0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment