Explicitly join test threads before collecting test stats
This commit is contained in:
parent
cf73ed529d
commit
9c3d683942
@ -224,6 +224,10 @@ std::pair<SimulatorStats, LatencyHistogramSummaries> RunSimulation(SimulatorConf
|
||||
|
||||
simulator.ShutDown();
|
||||
|
||||
srv_thread_1.join();
|
||||
srv_thread_2.join();
|
||||
srv_thread_3.join();
|
||||
|
||||
SimulatorStats stats = simulator.Stats();
|
||||
|
||||
spdlog::info("total messages: {}", stats.total_messages);
|
||||
|
Loading…
Reference in New Issue
Block a user