Skip to content

Commit f937423

Browse files
committed
Tests: Raise WolfSSLEngineMemoryLeakTest timeout to 180s
1 parent 179fbb3 commit f937423

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/test/com/wolfssl/provider/jsse/test/WolfSSLEngineMemoryLeakTest.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,13 @@
5050
public class WolfSSLEngineMemoryLeakTest {
5151

5252
/**
53-
* Global timeout for all tests in this class.
53+
* Global timeout for all tests in this class. The 500-engine test
54+
* plus multiple GC/finalization rounds can run 60+ seconds on slower
55+
* platforms (notably Windows with FIPS enabled), so 180s leaves
56+
* comfortable headroom while still catching genuine hangs.
5457
*/
5558
@Rule
56-
public Timeout globalTimeout = new Timeout(60, TimeUnit.SECONDS);
59+
public Timeout globalTimeout = new Timeout(180, TimeUnit.SECONDS);
5760

5861
@BeforeClass
5962
public static void setupProvider() {

0 commit comments

Comments
 (0)