keyspace: add UT for auto id keyspace test case
Open
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
keyspace: add UT for auto id keyspace test case
In the TestAPI, when it is necessary to send an autoid.AutoIDRequest:
1. Non-keyspace scenario: KeyspaceID: uint32(tikv.NullspaceID)
2. Keyspace scenario: Construct the store through keyspaceMeta, and pass keyspaceMeta.Id in the AutoIDRequest. The service side will check whether the keyspace ID in the store is consistent with the one in the request.
Contributor guide
Assessment
This issue has not been assessed yet.