Browse files

Fix buffer limit spec

  • Loading branch information...
1 parent 0293814 commit b5f69e0f3b1376d95764b5d5a6b5184d9cdb7bb2 Dmitriy Kalinin and Pieter Noordhuis committed Mar 15, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 warden/spec/support/examples/running_commands.rb
View
4 warden/spec/support/examples/running_commands.rb
@@ -215,8 +215,8 @@ def stream(client, job_id)
responses = stream(client, job_id)
responses.last.exit_status.should == 255
- responses.map(&:data).join.size.should >= 1024 * 100
- responses.map(&:data).join.size.should < 1024 * 100 + 1024 * 64
+ responses.map(&:data).join.size.should > 1024 * 100
+ responses.map(&:data).join.size.should <= 1024 * 100 + 1024 * 64
# Test that iomux-spawn was killed
`ps ax | grep iomux-spawn | grep #{handle} | grep -v grep`.should == ""

0 comments on commit b5f69e0

Please sign in to comment.