Advertisement
Guest User

Untitled

a guest
Nov 19th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1. 1.9.2 realweb [silence_stdout]$ b rspec spec/
  2. The Gemfile's dependencies are satisfied
  3. ...>> Thin web server (v1.3.1 codename Triple Espresso)
  4. >> Maximum connections set to 1024
  5. >> Listening on 127.0.0.1:8848, CTRL+C to stop
  6. .>> Thin web server (v1.3.1 codename Triple Espresso)
  7. >> Maximum connections set to 1024
  8. >> Listening on 127.0.0.1:9669, CTRL+C to stop
  9. .localhost - - [28/Jun/2012:16:25:37 PDT] "GET / HTTP/1.1" 500 338
  10. - -> /
  11. localhost - - [28/Jun/2012:16:25:37 PDT] "GET / HTTP/1.1" 500 338
  12. - -> /
  13. F>> Thin web server (v1.3.1 codename Triple Espresso)
  14. >> Maximum connections set to 1024
  15. >> Listening on 127.0.0.1:9274, CTRL+C to stop
  16. .*>> Thin web server (v1.3.1 codename Triple Espresso)
  17. >> Maximum connections set to 1024
  18. >> Listening on 127.0.0.1:9412, CTRL+C to stop
  19. *....F......
  20.  
  21. Pending:
  22. RealWeb InThreadServer.with_server cleans up the server block exit
  23. # Rack handles/defines server stop and cleanup
  24. # ./spec/realweb_spec.rb:58
  25. RealWeb InThreadServer.start_server becomes inaccessible when stop is called
  26. # Rack handles/defines server stop and cleanup
  27. # ./spec/realweb_spec.rb:67
  28.  
  29. Failures:
  30.  
  31. 1) RealWeb InThreadServer it should behave like working server works with webrick
  32. Failure/Error: open(server.base_uri).read.should == "Hello World"
  33. OpenURI::HTTPError:
  34. 500 Internal Server Error
  35. Shared Example Group: "working server" called from ./spec/realweb_spec.rb:54
  36. # ./spec/realweb_spec.rb:33:in `block (5 levels) in <top (required)>'
  37. # ./lib/realweb/server.rb:12:in `block in with_rackup'
  38. # ./lib/realweb/server.rb:28:in `initialize'
  39. # ./lib/realweb/server.rb:10:in `new'
  40. # ./lib/realweb/server.rb:10:in `with_rackup'
  41. # ./lib/realweb.rb:18:in `with_server_in_thread'
  42. # ./spec/realweb_spec.rb:51:in `with_server'
  43. # ./spec/realweb_spec.rb:32:in `block (4 levels) in <top (required)>'
  44.  
  45. 2) RealWeb ForkingServer it should behave like working server works with webrick
  46. Failure/Error: open(server.base_uri).read.should == "Hello World"
  47. OpenURI::HTTPError:
  48. 500 Internal Server Error
  49. Shared Example Group: "working server" called from ./spec/realweb_spec.rb:102
  50. # ./spec/realweb_spec.rb:33:in `block (5 levels) in <top (required)>'
  51. # ./lib/realweb/server.rb:12:in `block in with_rackup'
  52. # ./lib/realweb/server.rb:28:in `initialize'
  53. # ./lib/realweb/server.rb:10:in `new'
  54. # ./lib/realweb/server.rb:10:in `with_rackup'
  55. # ./lib/realweb.rb:22:in `with_server_in_fork'
  56. # ./spec/realweb_spec.rb:80:in `with_server'
  57. # ./spec/realweb_spec.rb:32:in `block (4 levels) in <top (required)>'
  58.  
  59. Finished in 27.93 seconds
  60. 20 examples, 2 failures, 2 pending
  61.  
  62. Failed examples:
  63.  
  64. rspec ./spec/realweb_spec.rb:31 # RealWeb InThreadServer it should behave like working server works with webrick
  65. rspec ./spec/realweb_spec.rb:31 # RealWeb ForkingServer it should behave like working server works with webrick
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement