On Fri, Jun 4, 2021 at 2:07 PM Bryan Stopp <
bryan...@gmail.com> wrote:
>
> Yeah, I'd hate to have to disable all windows validation because my restart validation tests can't get a test runner in 15 seconds after a reboot. Seems like a limitation of the testing framework...
I've similarly given up and disabled Windows testing. There _is_ a
problem with multiple JVMs consuming all the memory on the
system/container, as described in a previous thread [1]. Solving that
problem requires tuning the JVM -Xmx and -Xms settings for the agent
Java process running the build, the main Maven Java process, the Maven
Surefire Java process, and/or the agent Java process(es) spawned by
tests themselves to all fit within the total memory constraint of the
system/container (or spending more money on larger instances). To my
knowledge nobody has done this yet. I don't have the time to become a
Jenkins infrastructure developer, so I just disabled Windows testing
for Email Extension. (Windows testing seems to be disabled for Jenkins
core as well.)
[1]
https://groups.google.com/g/jenkinsci-dev/c/qF96iWjIwjw/m/iND6ONZtAgAJ