Skip to content

Commit

Permalink
test: test
Browse files Browse the repository at this point in the history
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
  • Loading branch information
gyuho committed Jul 27, 2017
1 parent 9fee4b7 commit 76306e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clientv3/integration/lease_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,9 @@ func TestLeaseGrantErrConnClosed(t *testing.T) {
if err != nil && err != grpc.ErrClientConnClosing {
t.Fatalf("expected %v, got %v", grpc.ErrClientConnClosing, err)
}
// if err != nil && err != grpc.ErrClientConnClosing && err != context.Canceled {
// t.Fatalf("expected %v or %v, got %v", grpc.ErrClientConnClosing, context.Canceled, err)
// }
}()

if err := cli.Close(); err != nil {
Expand Down

0 comments on commit 76306e5

Please sign in to comment.