Merge branch 'master' into datadir-take-3

This commit is contained in:
Travis Turner 2021-03-08 11:21:05 -06:00 committed by GitHub
commit 2a0765d7f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,8 +44,12 @@ func TestLeasedKv(t *testing.T) {
if err != nil {
t.Fatal(err)
}
cli := v3client.New(etcd.Server)
defer func() {
etcd.Close()
<-etcd.Server.StopNotify()
cli.Close()
}()
lkv := newLeasedKV(cli, "/test", 1)