MCPcopy Create free account
hub / github.com/Tencent/phxpaxos / TestClientPool

Method TestClientPool

src/test/test_main.cpp:193–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191{
192public:
193 TestClientPool(TestServer * poTestServer, const int iWriteCount, const int iAvgValueSize)
194 {
195 int iClientCount = 100;
196 for (int i = 0; i < iClientCount; i++)
197 {
198 auto poClient = new TestClient(poTestServer, iWriteCount / iClientCount, iAvgValueSize);
199 poClient->start();
200 m_vecTestClient.push_back(poClient);
201 }
202 }
203
204 ~TestClientPool()
205 {

Callers

nothing calls this directly

Calls 1

startMethod · 0.80

Tested by

no test coverage detected