createdModuleNames.add(moduleName);
ModuleInitializer initer = new ModuleInitializer(moduleName, user, lang, false);
initer.initialize(true);
}
private int runTestsInDocker(String moduleName) throws Exception {
<BUG>File moduleDir = new File(moduleName);
File testCfgFile = new File(moduleDir, "test_local/test.cfg");</BUG>
String testCfgText = FileUtils.readFileToString(testCfgFile);
testCfgText = testCfgText.replace("test_user=", "test_user=" + user);
testCfgText = testCfgText.replace("test_password=", "test_password=" + pwd);

createdModuleNames.add(moduleName);
ModuleInitializer initer = new ModuleInitializer(moduleName, user, lang, false);
initer.initialize(true);
}
private int runTestsInDocker(String moduleName) throws Exception {
File moduleDir = new File(moduleName);
return runTestsInDocker(moduleDir, user, pwd);
}
public static int runTestsInDocker(File moduleDir, String user, String pwd) throws Exception {
File testCfgFile = new File(moduleDir, "test_local/test.cfg");
String testCfgText = FileUtils.readFileToString(testCfgFile);
testCfgText = testCfgText.replace("test_user=", "test_user=" + user);
testCfgText = testCfgText.replace("test_password=", "test_password=" + pwd);
