Howdy everyone, I have a first pass at getting the test server to come up in a win32 environment. So I would like to know how to submit a patch.
Right now I have two failing tests and would welcome any advice/suggestions to aid in debugging the problems. Here is the output of rake test: rm -rf test/data starting solr server on i386-mswin32 c:/ruby/bin/ruby -Ilib -r solr -r test/unit -Itest/functional "c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb" "test/functional/server_test.rb" Loaded suite c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1 /lib/rake/rake_test_loader Started .F.........F.. Finished in 10.219 seconds. 1) Failure: test_bad_connection(ServerTest) [./test/functional/server_test.rb:78]: <Errno::ECONNREFUSED> exception expected but was Class: <Errno::EBADF> Message: <"Bad file descriptor - connect(2)"> ---Backtrace--- c:/ruby/lib/ruby/1.8/net/http.rb:560:in `initialize' c:/ruby/lib/ruby/1.8/net/http.rb:560:in `open' c:/ruby/lib/ruby/1.8/net/http.rb:560:in `connect' c:/ruby/lib/ruby/1.8/timeout.rb:48:in `timeout' c:/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout' c:/ruby/lib/ruby/1.8/net/http.rb:560:in `connect' c:/ruby/lib/ruby/1.8/net/http.rb:553:in `do_start' c:/ruby/lib/ruby/1.8/net/http.rb:542:in `start' c:/ruby/lib/ruby/1.8/net/http.rb:1032:in `request' c:/ruby/lib/ruby/1.8/net/http.rb:842:in `post' ./lib/solr/connection.rb:137:in `post' ./lib/solr/connection.rb:130:in `send' ./test/functional/server_test.rb:79:in `test_bad_connection' ./test/functional/server_test.rb:78:in `test_bad_connection' --------------- 2) Failure: test_ping(ServerTest) [./test/functional/server_test.rb:96]: <true> expected but was <false>. 14 tests, 21 assertions, 2 failures, 0 errors stopping solr server Cheers, Mel