test/plezi_tests.rb in plezi-0.8.6 vs test/plezi_tests.rb in plezi-0.8.7

- old
+ new

@@ -297,10 +297,10 @@ puts " **** 404 not found test FAILED TO RUN!!!" puts e end def test_500 workers = Plezi::EventMachine.count_living_workers - putc " * 500 internal error test: #{RESULTS[ Net::HTTP.get_response(URI.parse "http://localhost:3000/fail" ).code == '500' ]}" + print " * 500 internal error test: #{RESULTS[ Net::HTTP.get_response(URI.parse "http://localhost:3000/fail" ).code == '500' ]}" # cause 10 more exceptions to be raised... testing thread survival. 10.times { putc "."; Net::HTTP.get_response(URI.parse "http://localhost:3000/fail" ).code } putc "\n" workers_after_test = Plezi::EventMachine.count_living_workers puts " * Worker survival test: #{RESULTS[workers_after_test == workers]} (#{workers_after_test} out of #{workers})"