Skip to content

Commit fa9f89d

Browse files
committed
Test: the timeout value is irrelevant here
1 parent f096488 commit fa9f89d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spec/inputs/redis_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ def process(conf, event_count)
166166
allow_any_instance_of( Redis::Client ).to receive(:call_with_timeout) do |_, command, timeout, &block|
167167
expect(command[0]).to eql :blpop
168168
expect(command[1]).to eql ['foo', 0]
169-
expect(command[2]).to eql 1
170169
end.and_return ['foo', "{\"foo1\":\"bar\""], nil
171170

172171
tt = Thread.new do

0 commit comments

Comments
 (0)