diff --git a/DEPS.bzl b/DEPS.bzl index 6684651b0860d..8706b1a543fc9 100644 --- a/DEPS.bzl +++ b/DEPS.bzl @@ -2244,8 +2244,8 @@ def go_deps(): name = "com_github_tikv_client_go_v2", build_file_proto_mode = "disable_global", importpath = "github.com/tikv/client-go/v2", - sum = "h1:KhOkCnqpxh/B2gGZdXSUyKgNRZaPzYsCIWGjNdrFmOA=", - version = "v2.0.1-0.20220531081749-2807409d4968", + sum = "h1:N5ivsNkDQDgimY0ZVqMnWqXjEnxy5uFChoB4wPIKpPI=", + version = "v2.0.1-0.20220613112734-be31f33ba03b", ) go_repository( name = "com_github_tikv_pd_client", diff --git a/executor/executor_failpoint_test.go b/executor/executor_failpoint_test.go index 7a091ebec126a..bac18b706717b 100644 --- a/executor/executor_failpoint_test.go +++ b/executor/executor_failpoint_test.go @@ -188,6 +188,11 @@ func TestSplitRegionTimeout(t *testing.T) { store, clean := testkit.CreateMockStore(t) defer clean() + require.NoError(t, failpoint.Enable("tikvclient/injectLiveness", `return("reachable")`)) + defer func() { + require.NoError(t, failpoint.Disable("tikvclient/injectLiveness")) + }() + require.NoError(t, failpoint.Enable("tikvclient/mockSplitRegionTimeout", `return(true)`)) tk := testkit.NewTestKit(t, store) tk.MustExec("use test") diff --git a/go.mod b/go.mod index 93a76f281610e..ca011412a978c 100644 --- a/go.mod +++ b/go.mod @@ -62,7 +62,7 @@ require ( github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.7.2-0.20220504104629-106ec21d14df github.com/tiancaiamao/appdash v0.0.0-20181126055449-889f96f722a2 - github.com/tikv/client-go/v2 v2.0.1-0.20220531081749-2807409d4968 + github.com/tikv/client-go/v2 v2.0.1-0.20220613112734-be31f33ba03b github.com/tikv/pd/client v0.0.0-20220307081149-841fa61e9710 github.com/twmb/murmur3 v1.1.3 github.com/uber/jaeger-client-go v2.22.1+incompatible diff --git a/go.sum b/go.sum index 618581750502b..868a561b63e28 100644 --- a/go.sum +++ b/go.sum @@ -760,8 +760,8 @@ github.com/stretchr/testify v1.7.2-0.20220504104629-106ec21d14df/go.mod h1:6Fq8o github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/tiancaiamao/appdash v0.0.0-20181126055449-889f96f722a2 h1:mbAskLJ0oJfDRtkanvQPiooDH8HvJ2FBh+iKT/OmiQQ= github.com/tiancaiamao/appdash v0.0.0-20181126055449-889f96f722a2/go.mod h1:2PfKggNGDuadAa0LElHrByyrz4JPZ9fFx6Gs7nx7ZZU= -github.com/tikv/client-go/v2 v2.0.1-0.20220531081749-2807409d4968 h1:KhOkCnqpxh/B2gGZdXSUyKgNRZaPzYsCIWGjNdrFmOA= -github.com/tikv/client-go/v2 v2.0.1-0.20220531081749-2807409d4968/go.mod h1:KzWkFRax8foxw13dSXAQZN+dLgixwahT10ZaAK9V/pg= +github.com/tikv/client-go/v2 v2.0.1-0.20220613112734-be31f33ba03b h1:N5ivsNkDQDgimY0ZVqMnWqXjEnxy5uFChoB4wPIKpPI= +github.com/tikv/client-go/v2 v2.0.1-0.20220613112734-be31f33ba03b/go.mod h1:KzWkFRax8foxw13dSXAQZN+dLgixwahT10ZaAK9V/pg= github.com/tikv/pd/client v0.0.0-20220307081149-841fa61e9710 h1:jxgmKOscXSjaFEKQGRyY5qOpK8hLqxs2irb/uDJMtwk= github.com/tikv/pd/client v0.0.0-20220307081149-841fa61e9710/go.mod h1:AtvppPwkiyUgQlR1W9qSqfTB+OsOIu19jDCOxOsPkmU= github.com/tklauser/go-sysconf v0.3.9 h1:JeUVdAOWhhxVcU6Eqr/ATFHgXk/mmiItdKeJPev3vTo=