aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/qps_interarrival_test.cc
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2017-07-13 15:44:17 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2017-07-13 15:44:17 -0700
commita9b9add1edd1eb359f7aa8c9831060805cccbb14 (patch)
tree303dce62dae24e0eeb52737f0379542b0caa9c70 /test/cpp/qps/qps_interarrival_test.cc
parent507d1fd58ec0ad6808d98089ecf257815e601261 (diff)
parent8ffb7c108024583f67b91023877edb537e0dd69e (diff)
Merge branch 'master' of github.com:grpc/grpc into lb_update_connector_fix
Diffstat (limited to 'test/cpp/qps/qps_interarrival_test.cc')
-rw-r--r--test/cpp/qps/qps_interarrival_test.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cpp/qps/qps_interarrival_test.cc b/test/cpp/qps/qps_interarrival_test.cc
index d19266ff9c..87f09e8c5f 100644
--- a/test/cpp/qps/qps_interarrival_test.cc
+++ b/test/cpp/qps/qps_interarrival_test.cc
@@ -23,6 +23,7 @@
#include <grpc/support/histogram.h>
#include "test/cpp/qps/interarrival.h"
+#include "test/cpp/util/test_config.h"
using grpc::testing::RandomDistInterface;
using grpc::testing::InterarrivalTimer;
@@ -50,6 +51,8 @@ static void RunTest(RandomDistInterface &&r, int threads, std::string title) {
using grpc::testing::ExpDist;
int main(int argc, char **argv) {
+ grpc::testing::InitTest(&argc, &argv, true);
+
RunTest(ExpDist(10.0), 5, std::string("Exponential(10)"));
return 0;
}