use new interface

Signed-off-by: lance6716 <lance6716@gmail.com>
This commit is contained in:
lance6716 2024-01-26 13:53:07 +08:00
parent d1b611cbe2
commit 30684f7d3c
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)