8136600: KinitConfPlusProps.java test intermittently fails because PortUnreachableException is missing
Reviewed-by: weijun
This commit is contained in:
parent
f3e4326747
commit
b47b3ceb6e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user