소스 검색

Changd thread count in ClientStop

yhirose 5 년 전
부모
커밋
34282c79a9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      test/test.cc

+ 1 - 1
test/test.cc

@@ -1767,7 +1767,7 @@ TEST_F(ServerTest, GetStreamedEndless) {
 
 TEST_F(ServerTest, ClientStop) {
   std::vector<std::thread> threads;
-  for (auto i = 0; i < 8; i++) {
+  for (auto i = 0; i < 3; i++) {
     threads.emplace_back(thread([&]() {
       auto res = cli_.Get("/streamed-cancel",
                           [&](const char *, uint64_t) { return true; });