rb: flush STDOUT after starting the benchmark server to properly kickstart the benchmark
authorKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 01:19:33 +0000 (01:19 +0000)
committerKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 01:19:33 +0000 (01:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@669030 13f79535-47bb-0310-9956-ffa450edef68

lib/rb/benchmark/server.rb

index e26e406..5162ac2 100644 (file)
@@ -53,6 +53,7 @@ end
 # let our host know that the interpreter has started
 # ideally we'd wait until the server was serving, but we don't have a hook for that
 Marshal.dump(:started, STDOUT)
+STDOUT.flush
 
 host, port, serverklass = ARGV