diff --git a/test/new.jl b/test/new.jl index f575c7223d..31305bed0f 100644 --- a/test/new.jl +++ b/test/new.jl @@ -2129,7 +2129,7 @@ end withenv( "EXPECTED_NUM_THREADS_DEFAULT" => "$other_nthreads_default", "EXPECTED_NUM_THREADS_INTERACTIVE" => "$default_nthreads_interactive", - "JULIA_NUM_THREADS" => "$other_nthreads_default", + "JULIA_NUM_THREADS" => "$other_nthreads_default,$default_nthreads_interactive", ) do Pkg.test("TestThreads") end @@ -2149,7 +2149,7 @@ end "EXPECTED_NUM_THREADS_INTERACTIVE" => "$default_nthreads_interactive", "JULIA_NUM_THREADS" => nothing, ) do - Pkg.test("TestThreads"; julia_args=`--threads=$other_nthreads_default`) + Pkg.test("TestThreads"; julia_args=`--threads=$other_nthreads_default,$default_nthreads_interactive`) end end @testset "--threads=other_nthreads_default,other_nthreads_interactive" begin