Execution timed out after Xms: JUnit 5 assertTimeout uses UTC clock by default
Execution timed out after Xms JUnit 5’s assertTimeout reports failures with the message Execution timed out after Xms . Internally it measures elapsed time against Clock.systemUTC() unless a custom Clock is supplied via the overload that accepts a Clock parameter. When tests perform date‑time conversions based on the JVM’s default time zone, the perceived wa