#251 add Stop methods for registries

This commit is contained in:
smallnest
2018-08-28 14:30:49 +08:00
parent 09c949d000
commit 398d782bf2
7 changed files with 242 additions and 75 deletions

View File

@@ -34,4 +34,7 @@ func TestZookeeperRegistry(t *testing.T) {
t.Fatal("failed to register services in zookeeper")
}
if err := r.Stop(); err != nil {
t.Fatal(err)
}
}