summaryrefslogtreecommitdiff
path: root/queue/zset/add.rb
diff options
context:
space:
mode:
Diffstat (limited to 'queue/zset/add.rb')
-rwxr-xr-xqueue/zset/add.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/queue/zset/add.rb b/queue/zset/add.rb
index cd63503..2c778a4 100755
--- a/queue/zset/add.rb
+++ b/queue/zset/add.rb
@@ -10,13 +10,15 @@ require "redis"
x = []
-x.push( "http://example.com/ must run http otherwise 'fail'" )
-x.push( "1.2.3.4 must run ping otherwise 'fail'" )
-x.push( "https://steve.net/ must run https otherwise 'fail'" )
+x.push( "test 1" )
+x.push( "test 2" )
+x.push( "test 3" )
for i in 0 .. 10
x.each do |test|
+ puts "adding #{test}"
@redis.zadd('zset', Time.now.to_i, test)
end
+ sleep 1
end