#!/usr/bin/ruby## Add the same three tests over and over again.##require"redis"@redis=Redis.new(:host=>"127.0.0.1")x=[]x.push("test 1")x.push("test 2")x.push("test 3")foriin0..10x.eachdo|test|puts"adding #{test}"@redis.zadd('zset',Time.now.to_i,test)endsleep1end