OpenJDK / bsd-port / jdk9 / hotspot
changeset 8705:e4e4273e4c3f
8080733: [TESTBUG] several runtime/ErrorHandling/* tests time out on Windows
Reviewed-by: coleenp, gtriantafill
author | ctornqvi |
---|---|
date | Wed, 15 Jul 2015 10:37:11 -0700 |
parents | 389bc4aa3295 |
children | 2f5f77429ce7 d476f0841893 |
files | test/runtime/ErrorHandling/CreateCoredumpOnCrash.java test/runtime/ErrorHandling/TestOnError.java test/runtime/memory/ReserveMemory.java |
diffstat | 3 files changed, 2 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/test/runtime/ErrorHandling/CreateCoredumpOnCrash.java Tue Jul 14 16:28:53 2015 +0200 +++ b/test/runtime/ErrorHandling/CreateCoredumpOnCrash.java Wed Jul 15 10:37:11 2015 -0700 @@ -46,16 +46,8 @@ runTest("-XX:-CreateCoredumpOnCrash").shouldContain("CreateCoredumpOnCrash turned off, no core file dumped"); if (Platform.isWindows()) { - runTest("-XX:+CreateCoredumpOnCrash").shouldContain("Core dump will be written. Default location"); - // The old CreateMinidumpOnCrash option should still work - runTest("-XX:+CreateMinidumpOnCrash").shouldContain("Core dump will be written. Default location"); runTest("-XX:-CreateMinidumpOnCrash").shouldContain("CreateCoredumpOnCrash turned off, no core file dumped"); - - if (Platform.isDebugBuild()) { - // Make sure we create dumps on Windows debug builds by default - runTest("-Ddummyopt=false").shouldContain("Core dump will be written. Default location"); - } } else { runTest("-XX:+CreateCoredumpOnCrash").shouldNotContain("CreateCoredumpOnCrash turned off, no core file dumped"); }
--- a/test/runtime/ErrorHandling/TestOnError.java Tue Jul 14 16:28:53 2015 +0200 +++ b/test/runtime/ErrorHandling/TestOnError.java Wed Jul 15 10:37:11 2015 -0700 @@ -45,6 +45,7 @@ // Execute the VM so that a ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( "-XX:-TransmitErrorReport", + "-XX:-CreateCoredumpOnCrash", "-XX:ErrorHandlerTest=12", // trigger potential SEGV "-XX:OnError=echo " + msg, TestOnError.class.getName());
--- a/test/runtime/memory/ReserveMemory.java Tue Jul 14 16:28:53 2015 +0200 +++ b/test/runtime/memory/ReserveMemory.java Wed Jul 15 10:37:11 2015 -0700 @@ -60,6 +60,7 @@ "-XX:+UnlockDiagnosticVMOptions", "-XX:+WhiteBoxAPI", "-XX:-TransmitErrorReport", + "-XX:-CreateCoredumpOnCrash", "-Xmx32m", "ReserveMemory", "test");