Skip to content

Commit

Permalink
keeper container service update to check keeper's health, so update t…
Browse files Browse the repository at this point in the history
…he test also
  • Loading branch information
NickNYU committed Oct 11, 2019
1 parent a5dc69d commit e379d62
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public void testAddKeeperContainer() {
keepercontainerService.addKeeperContainer(createInfo);
}

@Test
@Test(expected = IllegalArgumentException.class)
public void testAddKeeperContainer2() {
KeeperContainerCreateInfo createInfo = new KeeperContainerCreateInfo()
.setDcName(dcNames[0]).setKeepercontainerIp("192.168.0.1")
Expand Down Expand Up @@ -158,7 +158,6 @@ public void testAddKeeperContainer3() {

@Test
public void testGetDcAllKeeperContainers() {
testAddKeeperContainer2();
List<KeeperContainerCreateInfo> keepers = keepercontainerService.getDcAllKeeperContainers(dcNames[0]);
keepers.forEach(kc -> logger.info("[keeper] {}", kc));
}
Expand Down

0 comments on commit e379d62

Please sign in to comment.