integration: add lock and election services to proxy tests

This commit is contained in:
Anthony Romano
2017-05-10 12:53:39 -07:00
parent 713e006bc6
commit 00da3ca725
5 changed files with 15 additions and 3 deletions

View File

@ -40,7 +40,7 @@ func TestV3LockLockWaiter(t *testing.T) {
t.Fatal(err2)
}
lc := lockpb.NewLockClient(clus.Client(0).ActiveConnection())
lc := toGRPC(clus.Client(0)).Lock
l1, lerr1 := lc.Lock(context.TODO(), &lockpb.LockRequest{Name: []byte("foo"), Lease: lease1.ID})
if lerr1 != nil {
t.Fatal(lerr1)