fix: HeliumBundleFactoryTest

This commit is contained in:
1ambda 2017-03-31 22:18:12 +09:00
parent 5a2a9384cc
commit 11ef0ae8e6
2 changed files with 4 additions and 4 deletions

View file

@ -396,8 +396,6 @@ public class HeliumBundleFactory {
}
installNodeAndNpm();
// copy zeppelin framework modules
copyFrameworkModuleToInstallPath();
for (HeliumPackage pkg : pkgs) {
@ -405,7 +403,7 @@ public class HeliumBundleFactory {
}
}
private void copyFrameworkModuleToInstallPath()
void copyFrameworkModuleToInstallPath()
throws IOException {
FileFilter npmPackageCopyFilter = new FileFilter() {

View file

@ -40,7 +40,7 @@ public class HeliumBundleFactoryTest {
private HeliumBundleFactory hbf;
@Before
public void setUp() throws InstallationException, TaskRunnerException {
public void setUp() throws InstallationException, TaskRunnerException, IOException {
tmpDir = new File(System.getProperty("java.io.tmpdir") + "/ZeppelinLTest_" + System.currentTimeMillis());
tmpDir.mkdirs();
@ -56,6 +56,8 @@ public class HeliumBundleFactoryTest {
new File(moduleDir, "tabledata"),
new File(moduleDir, "visualization"),
new File(moduleDir, "spell"));
hbf.copyFrameworkModuleToInstallPath();
}
@After