From bf83d5269f6891cce89ced409d303c3cd1f158df Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Wed, 3 Jan 2018 17:26:43 -0800 Subject: [PATCH] clientv3/integration: fix typos Signed-off-by: Gyuho Lee --- clientv3/integration/black_hole_test.go | 2 +- clientv3/integration/dial_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clientv3/integration/black_hole_test.go b/clientv3/integration/black_hole_test.go index 3dce469df..c59541e38 100644 --- a/clientv3/integration/black_hole_test.go +++ b/clientv3/integration/black_hole_test.go @@ -54,7 +54,7 @@ func TestBalancerUnderBlackholeKeepAliveWatch(t *testing.T) { // TODO: only send healthy endpoint to gRPC so gRPC wont waste time to // dial for unhealthy endpoint. // then we can reduce 3s to 1s. - timeout := pingInterval + intergration.RequestWaitTimeout + timeout := pingInterval + integration.RequestWaitTimeout cli, err := clientv3.New(ccfg) if err != nil { diff --git a/clientv3/integration/dial_test.go b/clientv3/integration/dial_test.go index 05d86c0a6..6da7e2940 100644 --- a/clientv3/integration/dial_test.go +++ b/clientv3/integration/dial_test.go @@ -121,7 +121,7 @@ func testDialSetEndpoints(t *testing.T, setBefore bool) { if !setBefore { cli.SetEndpoints(eps[toKill%3], eps[(toKill+1)%3]) } - ctx, cancel := context.WithTimeout(context.Background(), intergration.RequestWaitTimeout) + ctx, cancel := context.WithTimeout(context.Background(), integration.RequestWaitTimeout) if _, err = cli.Get(ctx, "foo", clientv3.WithSerializable()); err != nil { t.Fatal(err) }