Skip to content

Commit

Permalink
Reduce timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 23, 2024
1 parent a77aef4 commit 8436856
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/testing/process.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::chrono::steady_clock> 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;
Expand Down

0 comments on commit 8436856

Please sign in to comment.