From 843685661264cc1dfab76cdc69302c31ade94066 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Fri, 23 Aug 2024 11:30:13 +0900 Subject: [PATCH] Reduce timeout --- cpp/src/arrow/testing/process.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/src/arrow/testing/process.cc b/cpp/src/arrow/testing/process.cc index 542d434935031..e79366c647bdf 100644 --- a/cpp/src/arrow/testing/process.cc +++ b/cpp/src/arrow/testing/process.cc @@ -219,9 +219,9 @@ class Process::Impl { if (process_ && process_->running(error_code)) { process_->request_exit(error_code); if (!error_code) { - auto timeout = std::chrono::seconds(10); + auto timeout = std::chrono::seconds(3); std::chrono::time_point end = - std::chrono::steady_clock::now() + timeout; + std::chrono::steady_clock::now() + timeout; int i = 0; while (process_->running(error_code) && std::chrono::steady_clock::now() < end) { std::cerr << "(waiting terminated: " << i++ << ")" << std::endl;