Преглед на файлове

Merge pull request #9090 from gyuho/fix

clientv3/integration: fix typos
Gyuho Lee преди 8 години
родител
ревизия
6915a718b9
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      clientv3/integration/black_hole_test.go
  2. 1 1
      clientv3/integration/dial_test.go

+ 1 - 1
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 {

+ 1 - 1
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)
 	}