Skip to content

Commit

Permalink
use new interface
Browse files Browse the repository at this point in the history
Signed-off-by: lance6716 <[email protected]>
  • Loading branch information
lance6716 committed Jan 26, 2024
1 parent d1b611c commit 30684f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration_tests/async_commit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 30684f7

Please sign in to comment.