Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- more iterations

  • Loading branch information...
commit 328c0be6e0e2943b82be9ae83c76f0d2020e9dae 1 parent 8fd9a92
@jordansissel jordansissel authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  tests/elasticsearch/Procfile
  2. +1 −1  tests/generator.rb
View
2  tests/elasticsearch/Procfile
@@ -1,3 +1,3 @@
logstash: java -jar $HOME/projects/logstash/build/logstash-*-monolithic.jar agent -v -f logstash-elasticsearch.conf -- web --backend elasticsearch:///embedded-testing-funtimes
-data_generator: ruby ../generator.rb
+data_generator: ruby ../generator.rb 1000
elasticsearch: sh ../../build/elasticsearch/elasticsearch-0.18.7/bin/elasticsearch -f
View
2  tests/generator.rb
@@ -7,7 +7,7 @@
fd = SocketWaiter.tcp_connect("localhost", 9010)
-50.times do |i|
+(ARGV[0].to_i or 50).times do |i|
fd.puts i
sleep 1
end
Please sign in to comment.
Something went wrong with that request. Please try again.