From bd17262e17f5d95892282ec1e76358248ad53a6a Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 2 Mar 2020 13:46:08 -0800 Subject: [PATCH] Reduce iteration count in thread torture test Helps the test pass on 32 bit. --- src/fish_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fish_tests.cpp b/src/fish_tests.cpp index 51a7d18f7..ce40d1f0d 100644 --- a/src/fish_tests.cpp +++ b/src/fish_tests.cpp @@ -847,7 +847,7 @@ static void test_fd_monitor() { static void test_iothread() { say(L"Testing iothreads"); std::unique_ptr> int_ptr = make_unique>(0); - int iterations = 50000; + int iterations = 64; int max_achieved_thread_count = 0; double start = timef(); for (int i = 0; i < iterations; i++) {