[memory-agent] Fix tests

This commit is contained in:
Vitaliy.Bibaev
2019-02-09 20:14:09 +03:00
parent 544144fccb
commit 13ca22ca70

View File

@@ -207,7 +207,7 @@ public class OutputChecker {
result = StringUtil.replace(result, "Process finished with exit code 255", "Process finished with exit code -1");
result = result.replaceAll(" -javaagent:.*debugger-agent\\.jar", "");
result = result.replaceAll(" -agentpath:.*memory_agent\\.\\w*=", "");
result = result.replaceAll(" -agentpath:.*memory_agent.*\\.dll=", "");
result = result.replaceAll("!HOST_NAME!:\\d*", "!HOST_NAME!:!HOST_PORT!");
result = result.replaceAll("at '.*?'", "at '!HOST_NAME!:PORT_NAME!'");
result = result.replaceAll("address: '.*?'", "address: '!HOST_NAME!:PORT_NAME!'");