Permalink
Browse files

ignore "started o.e.j.s.h.contextHandler" when validating expected Je…

…tty output in tests
  • Loading branch information...
1 parent aeba401 commit bf9703d98b1dacca404335dfbde26960a0c62348 @rsim rsim committed Apr 27, 2011
Showing with 3 additions and 2 deletions.
  1. +1 −1 .gitignore
  2. +2 −1 spec/server/cli_spec.rb
View
2 .gitignore
@@ -2,5 +2,5 @@ build
lib/kirk/native.jar
Gemfile.lock
*.gem
-
stress/train_app/log
+tmp
View
3 spec/server/cli_spec.rb
@@ -4,7 +4,8 @@
it "reads the configuration file, starts kirk, then redeploys" do
kirk "-c #{kirked_up_path}/Kirkfile" do |c|
c.stdout.gets.should =~ /INFO - jetty/
- c.stdout.gets.should =~ /INFO - Started SelectChannelConnector@0\.0\.0\.0:9090/
+ while (output = c.stdout.gets) =~ /INFO - started o\.e\.j\.s\.h\.ContextHandler/; end
+ output.should =~ /INFO - Started SelectChannelConnector@0\.0\.0\.0:9090/
get '/'
last_response.should be_successful

0 comments on commit bf9703d

Please sign in to comment.