From f98e56c91bc4ffc3fc5c484da0c12fa315a408d8 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Mon, 18 May 2015 15:00:52 -0700 Subject: [PATCH] Cheesy attempt to get this working on Travis --- test/cpp/qps/driver.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/cpp/qps/driver.cc b/test/cpp/qps/driver.cc index 9f7d3b56a44..6843e719e1c 100644 --- a/test/cpp/qps/driver.cc +++ b/test/cpp/qps/driver.cc @@ -44,6 +44,7 @@ #include #include #include +#include #include "test/cpp/qps/histogram.h" #include "test/cpp/qps/qps_worker.h" #include "test/core/util/port.h" @@ -89,6 +90,8 @@ ScenarioResult RunScenario(const ClientConfig& initial_client_config, return &contexts.back(); }; + srand(time(NULL) ^ getpid()); + // Get client, server lists auto workers = get_hosts("QPS_WORKERS"); ClientConfig client_config = initial_client_config;