Skip to content

Commit

Permalink
tests green
Browse files Browse the repository at this point in the history
  • Loading branch information
seamusabshere committed Sep 11, 2015
1 parent 0157528 commit 1847a39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/redlock/testing.rb
Expand Up @@ -4,7 +4,7 @@ class Client

alias_method :try_lock_instances_without_testing, :try_lock_instances

def try_lock_instances(resource, ttl)
def try_lock_instances(resource, ttl, extend)
if @testing_mode == :bypass
{
validity: ttl,
Expand All @@ -14,7 +14,7 @@ def try_lock_instances(resource, ttl)
elsif @testing_mode == :fail
false
else
try_lock_instances_without_testing resource, ttl
try_lock_instances_without_testing resource, ttl, extend
end
end

Expand Down

0 comments on commit 1847a39

Please sign in to comment.