mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix: HeliumBundleFactoryTest
This commit is contained in:
parent
5a2a9384cc
commit
11ef0ae8e6
2 changed files with 4 additions and 4 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue