瀏覽代碼

Updated ClientStop test

yhirose 5 年之前
父節點
當前提交
0cc108d45e
共有 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 < 100; i++) {
+  for (auto i = 0; i < 3; i++) {
     threads.emplace_back(thread([&]() {
       auto res = cli_.Get("/streamed-cancel",
                           [&](const char *, uint64_t) { return true; });