Skip to content

Commit

Permalink
Remove some TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Aug 18, 2022
1 parent 6ff3f67 commit 9c808aa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion test/redis/blocking_commands_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def test_brpoplpush_disable_client_timeout
end

def test_brpoplpush_in_transaction
# TODO: redis-client transactions don't support blocking calls.
results = r.multi do |transaction|
transaction.brpoplpush('foo', 'bar')
transaction.brpoplpush('foo', 'bar', timeout: 2)
Expand Down
13 changes: 0 additions & 13 deletions test/redis/internals_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -155,19 +155,6 @@ def test_retry_pipeline_first_command
end
end

def test_don_t_retry_when_second_read_in_pipeline_raises_econnreset
skip("TODO: decide if this is really worth it")
close_on_ping([1]) do |redis|
assert_raises Redis::ConnectionError do
redis.pipelined do |pipeline|
pipeline.ping
pipeline.ping # Second #read times out
end
end
refute_predicate redis._client, :connected?
end
end

def close_on_connection(seq, &block)
@n = 0

Expand Down

0 comments on commit 9c808aa

Please sign in to comment.