8136600: KinitConfPlusProps.java test intermittently fails because PortUnreachableException is missing

Reviewed-by: weijun
This commit is contained in:
Artem Smotrakov 2015-09-29 18:01:33 +03:00
parent f3e4326747
commit b47b3ceb6e

View File

@ -22,7 +22,6 @@
*/
import java.io.File;
import java.net.PortUnreachableException;
import java.util.HashMap;
import java.util.Map;
import jdk.testlibrary.ProcessTools;
@ -86,7 +85,6 @@ public class KinitConfPlusProps {
try {
OutputAnalyzer out = ProcessTools.executeCommand(command);
out.shouldHaveExitValue(-1);
out.shouldContain(PortUnreachableException.class.getName());
} catch(Throwable e) {
System.out.println("Unexpected exception: " + e);
e.printStackTrace(System.out);