mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
update test
This commit is contained in:
parent
65c6092e03
commit
53f0caa1a8
1 changed files with 1 additions and 6 deletions
|
|
@ -55,10 +55,6 @@ public class HeliumTest {
|
|||
Helium helium = new Helium(heliumConf.getAbsolutePath(), localRegistryPath.getAbsolutePath(),
|
||||
null, null, null);
|
||||
assertFalse(heliumConf.exists());
|
||||
HeliumTestRegistry registry1 = new HeliumTestRegistry("r1", "r1");
|
||||
helium.addRegistry(registry1);
|
||||
assertEquals(2, helium.getAllRegistry().size());
|
||||
assertEquals(0, helium.getAllPackageInfo().size());
|
||||
|
||||
// when
|
||||
helium.save();
|
||||
|
|
@ -66,10 +62,9 @@ public class HeliumTest {
|
|||
// then
|
||||
assertTrue(heliumConf.exists());
|
||||
|
||||
// then
|
||||
// then load without exception
|
||||
Helium heliumRestored = new Helium(
|
||||
heliumConf.getAbsolutePath(), localRegistryPath.getAbsolutePath(), null, null, null);
|
||||
assertEquals(2, heliumRestored.getAllRegistry().size());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
|||
Loading…
Reference in a new issue