Skip to content

Commit

Permalink
Merge pull request marians#10 from marians/test-pubsub
Browse files Browse the repository at this point in the history
Added pubsub test message generation
  • Loading branch information
marians committed Apr 7, 2015
2 parents 8b92894 + 240cd18 commit 959838d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/fillredis/fill.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ $CMD ZADD zset_01 3 "Third zset member"
$CMD ZADD zset_01 4 "Fourth zset member"
$CMD ZADD zset_01 5 "Fifth zset member"

# keep Docker container idle
# send messages to pubsub channel
while [ 1 ]
do
$CMD ping
sleep 60
$CMD PUBLISH pubsub_01 "Message published at `date`"
sleep 10
done

0 comments on commit 959838d

Please sign in to comment.