Skip to content

Commit

Permalink
Added missed check
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Kolesen committed Jan 2, 2013
1 parent ec0d5eb commit a0d27ca
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions test/test_push_queues.rb
Expand Up @@ -79,8 +79,7 @@ def test_queue_subscriptions
LOG.debug ex.code
assert_equal 404, ex.code
end
end

end
assert_not_equal tries, 0
end
elsif t == "unicast"
Expand Down Expand Up @@ -108,7 +107,6 @@ def test_queue_subscriptions
assert_not_equal tries, 0
end


tries = MAX_TRIES
while tries > 0
tries -= 1
Expand Down Expand Up @@ -183,7 +181,6 @@ def test_failure
end
assert_not_equal tries, 0


tries = MAX_TRIES
while tries > 0
tries -= 1
Expand All @@ -203,6 +200,7 @@ def test_failure
end
break
end
assert_not_equal tries, 0
end


Expand Down Expand Up @@ -275,7 +273,6 @@ def test_202
end
break
end

assert_not_equal 0, tries

tries = MAX_TRIES
Expand All @@ -292,10 +289,10 @@ def test_202
break
end
assert_not_equal 0, tries

end
end


def test_202_failure

end
Expand Down

0 comments on commit a0d27ca

Please sign in to comment.