JUnit assertTimeoutPreemptively assertion requires additional permissions
The JUnit 5 assertTimeoutPreemtively assertion (which does work in Maven Surefire, unlike @Timeout
) requires additional permissions to be added to the Java security policy.
(We really, really should be changing to a Kube + API-based approach once CS1OOP is done, instead of having to change the Java policy at every point...)