minor: test fix

This commit is contained in:
Kyle Banker 2011-03-23 15:32:32 -04:00
parent 37f285bf0c
commit bd4731dd39
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ class TestConnection < Test::Unit::TestCase
@conn.lock!
assert @conn.locked?
assert_equal 1, @conn['admin']['$cmd.sys.inprog'].find_one['fsyncLock'], "Not fsync-locked"
assert_equal "unlock requested", @conn.unlock!['info']
assert_match /unlock/, @conn.unlock!['info']
unlocked = false
counter = 0
while counter < 5