mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
create zeppelin-web/dist directory for test
This commit is contained in:
parent
b14b97e637
commit
7e50ea5241
1 changed files with 5 additions and 0 deletions
|
|
@ -127,6 +127,11 @@ public abstract class AbstractTestRestApi {
|
|||
if (!wasRunning) {
|
||||
System.setProperty(ZeppelinConfiguration.ConfVars.ZEPPELIN_HOME.getVarName(), "../");
|
||||
System.setProperty(ZeppelinConfiguration.ConfVars.ZEPPELIN_WAR.getVarName(), "../zeppelin-web/dist");
|
||||
|
||||
// some test profile does not build zeppelin-web.
|
||||
// to prevent zeppelin starting up fail, create zeppelin-web/dist directory
|
||||
new File("../zeppelin-web/dist").mkdirs();
|
||||
|
||||
LOG.info("Staring test Zeppelin up...");
|
||||
ZeppelinConfiguration conf = ZeppelinConfiguration.create();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue