提交 b836d87a 编写于 作者: S sgehwolf

8195088: [TEST_BUG] StartManagementAgent got unexpected exception

Reviewed-by: sspitsyn, andrew
上级 66a72501
......@@ -93,7 +93,7 @@ public class StartManagementAgent {
} catch(AttachOperationFailedException ex) {
// We expect parsing of "apa" above to fail, but if the file path
// can't be read we get a different exception message
if (!ex.getMessage().contains("Invalid com.sun.management.jmxremote.port number")) {
if (!ex.getMessage().contains("NumberFormatException: For input string: \"apa\"")) {
throw ex;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册