about summary refs log tree commit homepage
path: root/test/mgmt.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/mgmt.rb')
-rw-r--r--test/mgmt.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mgmt.rb b/test/mgmt.rb
index 9b3c7a3..7c650b8 100644
--- a/test/mgmt.rb
+++ b/test/mgmt.rb
@@ -321,14 +321,14 @@ class TestMgmt < Test::Unit::TestCase
     @client.write "watch\n"
     lines = []
 
-    2.times do # 2 times in case we're slow
+    3.times do # 3 times in case we're slow
       begin
         line = @client.gets
         lines << line
       end until line == ".\n"
     end
 
-    assert lines.grep(/\b#{max}\b/)[0]
+    assert lines.grep(/\b#{max}\b/)[0], lines.inspect
     assert_nil lines.grep(/\b#{max + 1}\b/)[0]
     assert File.exist?("#@tmpdir/dev#{max}/usage")
     assert ! File.exist?("#@tmpdir/dev#{max + 1}/usage")