From 3260d98c590a4ddf717d197e48a922b44b1cffd4 Mon Sep 17 00:00:00 2001 From: Christian Guinard <28689358+christiangnrd@users.noreply.github.com> Date: Thu, 16 Jul 2026 17:41:58 -0300 Subject: [PATCH 1/4] Add way to customize update status interval --- src/ParallelTestRunner.jl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/ParallelTestRunner.jl b/src/ParallelTestRunner.jl index 1e27ae6..a307456 100644 --- a/src/ParallelTestRunner.jl +++ b/src/ParallelTestRunner.jl @@ -842,6 +842,7 @@ Several keyword arguments are also supported: `test_worker` hook are the caller's responsibility. - `stdout` and `stderr`: I/O streams to write to (default: `Base.stdout` and `Base.stderr`) - `max_worker_rss`: RSS threshold where a worker will be restarted once it is reached. +- `update_status_interval`: Interval (in seconds) between status updates during test execution. ## Command Line Options @@ -922,7 +923,9 @@ function runtests(mod::Module, args::ParsedArgs; exename = nothing, exeflags = nothing, env = Vector{Pair{String, String}}(), - stdout = Base.stdout, stderr = Base.stderr, max_worker_rss = get_max_worker_rss()) + stdout = Base.stdout, stderr = Base.stderr, + max_worker_rss = get_max_worker_rss(), + update_status_interval = 1,) # # set-up @@ -962,6 +965,7 @@ function runtests(mod::Module, args::ParsedArgs; stdout, stderr, max_worker_rss, + update_status_interval, ) end @@ -981,6 +985,7 @@ function _runtests(mod::Module, args::ParsedArgs; stdout = Base.stdout, stderr = Base.stderr, max_worker_rss = get_max_worker_rss(), + update_status_interval = 1, ) # determine parallelism @@ -1157,7 +1162,7 @@ function _runtests(mod::Module, args::ParsedArgs; end # After a while, display a status line - if !done && time() - t0 >= 5 && (got_message || (time() - last_status_update[] >= 1)) + if !done && time() - t0 >= 5 && (got_message || (time() - last_status_update[] >= update_status_interval)) update_status() last_status_update[] = time() end From c64dba25bb148b351d4e34e13ee68f9d4bce6ac6 Mon Sep 17 00:00:00 2001 From: Christian Guinard <28689358+christiangnrd@users.noreply.github.com> Date: Thu, 16 Jul 2026 18:03:57 -0300 Subject: [PATCH 2/4] Revert "Add way to customize update status interval" This reverts commit 3260d98c590a4ddf717d197e48a922b44b1cffd4. --- src/ParallelTestRunner.jl | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/ParallelTestRunner.jl b/src/ParallelTestRunner.jl index a307456..1e27ae6 100644 --- a/src/ParallelTestRunner.jl +++ b/src/ParallelTestRunner.jl @@ -842,7 +842,6 @@ Several keyword arguments are also supported: `test_worker` hook are the caller's responsibility. - `stdout` and `stderr`: I/O streams to write to (default: `Base.stdout` and `Base.stderr`) - `max_worker_rss`: RSS threshold where a worker will be restarted once it is reached. -- `update_status_interval`: Interval (in seconds) between status updates during test execution. ## Command Line Options @@ -923,9 +922,7 @@ function runtests(mod::Module, args::ParsedArgs; exename = nothing, exeflags = nothing, env = Vector{Pair{String, String}}(), - stdout = Base.stdout, stderr = Base.stderr, - max_worker_rss = get_max_worker_rss(), - update_status_interval = 1,) + stdout = Base.stdout, stderr = Base.stderr, max_worker_rss = get_max_worker_rss()) # # set-up @@ -965,7 +962,6 @@ function runtests(mod::Module, args::ParsedArgs; stdout, stderr, max_worker_rss, - update_status_interval, ) end @@ -985,7 +981,6 @@ function _runtests(mod::Module, args::ParsedArgs; stdout = Base.stdout, stderr = Base.stderr, max_worker_rss = get_max_worker_rss(), - update_status_interval = 1, ) # determine parallelism @@ -1162,7 +1157,7 @@ function _runtests(mod::Module, args::ParsedArgs; end # After a while, display a status line - if !done && time() - t0 >= 5 && (got_message || (time() - last_status_update[] >= update_status_interval)) + if !done && time() - t0 >= 5 && (got_message || (time() - last_status_update[] >= 1)) update_status() last_status_update[] = time() end From 276e1715884ff09ec440bcbf2d57e82af7cf58d5 Mon Sep 17 00:00:00 2001 From: Christian Guinard <28689358+christiangnrd@users.noreply.github.com> Date: Thu, 16 Jul 2026 18:06:47 -0300 Subject: [PATCH 3/4] Increase eta update interval to 10s --- src/ParallelTestRunner.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ParallelTestRunner.jl b/src/ParallelTestRunner.jl index 1e27ae6..0795e9b 100644 --- a/src/ParallelTestRunner.jl +++ b/src/ParallelTestRunner.jl @@ -1157,7 +1157,7 @@ function _runtests(mod::Module, args::ParsedArgs; end # After a while, display a status line - if !done && time() - t0 >= 5 && (got_message || (time() - last_status_update[] >= 1)) + if !done && time() - t0 >= 5 && (got_message || (time() - last_status_update[] >= 10)) update_status() last_status_update[] = time() end From d4194818abd4abab5c57b4d5dda63b757709df39 Mon Sep 17 00:00:00 2001 From: Christian Guinard <28689358+christiangnrd@users.noreply.github.com> Date: Thu, 16 Jul 2026 18:27:40 -0300 Subject: [PATCH 4/4] 20 seconds --- src/ParallelTestRunner.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ParallelTestRunner.jl b/src/ParallelTestRunner.jl index 0795e9b..312ef38 100644 --- a/src/ParallelTestRunner.jl +++ b/src/ParallelTestRunner.jl @@ -1157,7 +1157,7 @@ function _runtests(mod::Module, args::ParsedArgs; end # After a while, display a status line - if !done && time() - t0 >= 5 && (got_message || (time() - last_status_update[] >= 10)) + if !done && time() - t0 >= 5 && (got_message || (time() - last_status_update[] >= 20)) update_status() last_status_update[] = time() end