realtikvtest

package
v7.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

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

func CreateMockStoreAndSetup(t *testing.T, opts ...mockstore.MockTiKVStoreOption) kv.Storage

CreateMockStoreAndSetup return a new kv.Storage.

func RunTestMain

func RunTestMain(m *testing.M)

RunTestMain run common setups for all real tikv tests.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL