Skip to content

Commit 37aea06

Browse files
authored
Use lower limit on number of threads in cmdlineargs test (#39667)
200 is still too high for some 32-bit systems.
1 parent 686bc62 commit 37aea06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cmdlineargs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ let exename = `$(Base.julia_cmd()) --startup-file=no --color=no`
205205
end
206206
# We want to test oversubscription, but on manycore machines, this can
207207
# actually exhaust limited PID spaces
208-
cpu_threads = max(2*cpu_threads, min(200, 10*cpu_threads))
208+
cpu_threads = max(2*cpu_threads, min(50, 10*cpu_threads))
209209
@test read(`$exename -t $cpu_threads -e $code`, String) == string(cpu_threads)
210210
withenv("JULIA_NUM_THREADS" => string(cpu_threads)) do
211211
@test read(`$exename -e $code`, String) == string(cpu_threads)

0 commit comments

Comments
 (0)