mirror of https://github.com/tikv/client-go.git
use new interface
Signed-off-by: lance6716 <lance6716@gmail.com>
This commit is contained in:
parent
d1b611cbe2
commit
30684f7d3c
|
|
@ -86,7 +86,7 @@ func (s *testAsyncCommitCommon) setUpTest() {
|
|||
return
|
||||
}
|
||||
|
||||
client, pdClient, cluster, err := unistore.New("")
|
||||
client, pdClient, cluster, err := unistore.New("", nil)
|
||||
s.Require().Nil(err)
|
||||
|
||||
unistore.BootstrapWithSingleStore(cluster)
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ func NewTestUniStore(t *testing.T) *tikv.KVStore {
|
|||
if *withTiKV {
|
||||
return newTiKVStore(t)
|
||||
}
|
||||
client, pdClient, cluster, err := unistore.New("")
|
||||
client, pdClient, cluster, err := unistore.New("", nil)
|
||||
require.Nil(t, err)
|
||||
unistore.BootstrapWithSingleStore(cluster)
|
||||
store, err := tikv.NewTestTiKVStore(&unistoreClientWrapper{client}, pdClient, nil, nil, 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue