Commit 90272be 1 parent 93e5e96 commit 90272be Copy full SHA for 90272be
File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import (
19
19
"os"
20
20
"testing"
21
21
22
+ "github.com/pingcap/failpoint"
22
23
"github.com/pingcap/tidb/config"
23
24
"github.com/pingcap/tidb/meta/autoid"
24
25
"github.com/pingcap/tidb/testkit"
@@ -49,6 +50,8 @@ func TestMain(m *testing.M) {
49
50
conf .Experimental .AllowsExpressionIndex = true
50
51
})
51
52
tikv .EnableFailpoints ()
53
+ failpoint .Enable ("tikvclient/injectLiveness" , `return("reachable")` )
54
+ defer failpoint .Disable ("tikvclient/injectLiveness" )
52
55
tmpDir := config .GetGlobalConfig ().TempStoragePath
53
56
_ = os .RemoveAll (tmpDir ) // clean the uncleared temp file during the last run.
54
57
_ = os .MkdirAll (tmpDir , 0755 )
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ require (
70
70
github.com/spf13/pflag v1.0.5
71
71
github.com/stretchr/testify v1.7.0
72
72
github.com/tiancaiamao/appdash v0.0.0-20181126055449-889f96f722a2
73
- github.com/tikv/client-go/v2 v2.0.0-rc.0.20220425054530-a62124d9fa75
73
+ github.com/tikv/client-go/v2 v2.0.0-rc.0.20230116094918-b670f6c3eb65
74
74
github.com/tikv/pd v1.1.0-beta.0.20211118054146-02848d2660ee
75
75
github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802 // indirect
76
76
github.com/twmb/murmur3 v1.1.3
Original file line number Diff line number Diff line change @@ -789,8 +789,8 @@ github.com/tiancaiamao/appdash v0.0.0-20181126055449-889f96f722a2/go.mod h1:2PfK
789
789
github.com/tidwall/gjson v1.3.5 /go.mod h1:P256ACg0Mn+j1RXIDXoss50DeIABTYK1PULOJHhxOls =
790
790
github.com/tidwall/match v1.0.1 /go.mod h1:LujAq0jyVjBy028G1WhWfIzbpQfMO8bBZ6Tyb0+pL9E =
791
791
github.com/tidwall/pretty v1.0.0 /go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk =
792
- github.com/tikv/client-go/v2 v2.0.0-rc.0.20220425054530-a62124d9fa75 h1:f8/xvvOtyHx9XkO8CqMHPWU95IwzJVg2MdfytBe6QNI =
793
- github.com/tikv/client-go/v2 v2.0.0-rc.0.20220425054530-a62124d9fa75 /go.mod h1:wRuh+W35daKTiYBld0oBlT6PSkzEVr+pB/vChzJZk+8 =
792
+ github.com/tikv/client-go/v2 v2.0.0-rc.0.20230116094918-b670f6c3eb65 h1:MgvbVQAUGBRw+e7OsQpzZUZv5MtnykpHxVtBRRxx9Bs =
793
+ github.com/tikv/client-go/v2 v2.0.0-rc.0.20230116094918-b670f6c3eb65 /go.mod h1:wRuh+W35daKTiYBld0oBlT6PSkzEVr+pB/vChzJZk+8 =
794
794
github.com/tikv/pd v1.1.0-beta.0.20211029083450-e65f0c55b6ae /go.mod h1:varH0IE0jJ9E9WN2Ei/N6pajMlPkcXdDEf7f5mmsUVQ =
795
795
github.com/tikv/pd v1.1.0-beta.0.20211118054146-02848d2660ee h1:rAAdvQ8Hh36syHr92g0VmZEpkH+40RGQBpFL2121xMs =
796
796
github.com/tikv/pd v1.1.0-beta.0.20211118054146-02848d2660ee /go.mod h1:lRbwxBAhnTQR5vqbTzeI/Bj62bD2OvYYuFezo2vrmeI =
You can’t perform that action at this time.
0 commit comments