spec/outputs/redis_spec.rb in logstash-output-redis-1.0.0 vs spec/outputs/redis_spec.rb in logstash-output-redis-2.0.0
- old
+ new
@@ -70,10 +70,10 @@
}
}
CONFIG
agent do
- # we have to wait for teardown to execute & flush the last batch.
+ # we have to wait for close to execute & flush the last batch.
# otherwise we might start doing assertions before everything has been
# sent out to redis.
sleep 2
redis = Redis.new(:host => "127.0.0.1")