fix test: set state back

This commit is contained in:
Khalid Huseynov 2016-11-17 14:53:10 +09:00
parent fc91b2f157
commit 010c26200d

View file

@ -1119,6 +1119,10 @@ public class NotebookTest implements JobListenerFactory{
assertEquals(notebookAuthorization.getOwners(notePrivate.getId()).size(), 1);
assertEquals(notebookAuthorization.getReaders(notePrivate.getId()).size(), 1);
assertEquals(notebookAuthorization.getWriters(notePrivate.getId()).size(), 1);
//set back public to true
System.setProperty(ConfVars.ZEPPELIN_NOTEBOOK_PUBLIC.getVarName(), "true");
ZeppelinConfiguration.create();
}
private void delete(File file){