Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…tty output in tests
  • Loading branch information...
commit bf9703d98b1dacca404335dfbde26960a0c62348 1 parent aeba401
Raimonds Simanovskis rsim authored

Showing 2 changed files with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. +1 1  .gitignore
  2. +2 1  spec/server/cli_spec.rb
2  .gitignore
@@ -2,5 +2,5 @@ build
2 2 lib/kirk/native.jar
3 3 Gemfile.lock
4 4 *.gem
5   -
6 5 stress/train_app/log
  6 +tmp
3  spec/server/cli_spec.rb
@@ -4,7 +4,8 @@
4 4 it "reads the configuration file, starts kirk, then redeploys" do
5 5 kirk "-c #{kirked_up_path}/Kirkfile" do |c|
6 6 c.stdout.gets.should =~ /INFO - jetty/
7   - c.stdout.gets.should =~ /INFO - Started SelectChannelConnector@0\.0\.0\.0:9090/
  7 + while (output = c.stdout.gets) =~ /INFO - started o\.e\.j\.s\.h\.ContextHandler/; end
  8 + output.should =~ /INFO - Started SelectChannelConnector@0\.0\.0\.0:9090/
8 9
9 10 get '/'
10 11 last_response.should be_successful

0 comments on commit bf9703d

Please sign in to comment.
Something went wrong with that request. Please try again.