Cheesy attempt to get this working on Travis

pull/1641/head
Craig Tiller 10 years ago
parent de91fc1d67
commit f98e56c91b
  1. 3
      test/cpp/qps/driver.cc

@ -44,6 +44,7 @@
#include <thread>
#include <deque>
#include <vector>
#include <unistd.h>
#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;

Loading…
Cancel
Save