Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WithRealTiKV = flag.Bool("with-real-tikv", false, "whether tests run with real TiKV")
WithRealTiKV is a flag identify whether tests run with real TiKV
Functions ¶
func CreateMockStoreAndDomainAndSetup ¶
func CreateMockStoreAndDomainAndSetup(t *testing.T, opts ...mockstore.MockTiKVStoreOption) (kv.Storage, *domain.Domain)
CreateMockStoreAndDomainAndSetup return a new kv.Storage and *domain.Domain.
func CreateMockStoreAndSetup ¶
CreateMockStoreAndSetup return a new kv.Storage.
func RunTestMain ¶
RunTestMain run common setups for all real tikv tests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.