Permalink
Browse files

copy and paste errors

  • Loading branch information...
1 parent 8189b1f commit 520c505055357a343eff4c2fda2f4241efd11156 @buzztroll buzztroll committed Dec 15, 2011
Showing with 3 additions and 4 deletions.
  1. +1 −1 scale_scripts/ping.yml
  2. +1 −2 scale_scripts/pingpong.py
  3. +1 −1 scale_scripts/run_pingpong.sh
View
@@ -19,4 +19,4 @@ test:
ponger_name: pong
consume_timeout: 5
consume_count: 1
- runtime: 150
+ runtime: 15
@@ -47,10 +47,9 @@ def go(self):
self.timer.start()
self.start_time = datetime.datetime.now()
print "sending first ping"
- self.dashi.fire(self.CFG.test.ponger_name, "ping")
while not self.done:
try:
- self.dashi.consume(timeout=int(self.CFG.test.consume_timeout), count=int(self.CFG.test.consume_count))
+ self.dashi.fire(self.CFG.test.ponger_name, "ping")
except socket.timeout, ex:
pass
print "sending final message"
@@ -43,7 +43,7 @@ do
ssh $ponger_host $py $r_pgm_file --test.type=pong $cmd_line_args $r_conf_file &
recv_pid=$!
sleep 2
- ssh $pinger_host $py $r_pgm_file --test.type=ping $cmd_line_args $r_conf_file >> $out_file
+ ssh $pinger_host $py $r_pgm_file --test.type=ping $cmd_line_args $r_conf_file | tee $out_file
echo "pinger finished, waiting for ponger"
wait $recv_pid

0 comments on commit 520c505

Please sign in to comment.