提交 81560c15 编写于 作者: H hujie

CI No environment

上级 a3b94804
......@@ -67,7 +67,8 @@ public class PlainAclPlugEngineTest {
url = PlainAclPlugEngineTest.class.getResource("/");
home = url.toString();
home = home.substring(0, home.length()-1).replace("file:/", "").replace("target/test-classes/", "");
home = home+"resources/conf/transport.yml";
String filePath = home+"resources/conf/transport.yml";
fis = new FileInputStream(new File(filePath));
}else {
fis = url.openStream();
url = PlainAclPlugEngineTest.class.getResource("/");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册