Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // WithTiKV is the flag which indicates whether it runs with tikv. WithTiKV = flag.Bool("with-tikv", false, "run tests with TiKV cluster started. (not use the mock server)") )
Functions ¶
This section is empty.
Types ¶
type OneByOneSuite ¶
type OneByOneSuite struct{}
OneByOneSuite is a suite, When with-tikv flag is true, there is only one storage, so the test suite have to run one by one.
func (*OneByOneSuite) LockGlobalTiKV ¶
func (s *OneByOneSuite) LockGlobalTiKV()
LockGlobalTiKV locks withTiKVGlobalLock.
func (*OneByOneSuite) SetUpSuite ¶
func (s *OneByOneSuite) SetUpSuite(c *check.C)
SetUpSuite implements the interface check.Suite.
func (*OneByOneSuite) TearDownSuite ¶
func (s *OneByOneSuite) TearDownSuite(c *check.C)
TearDownSuite implements the interface check.Suite.
func (*OneByOneSuite) UnLockGlobalTiKV ¶
func (s *OneByOneSuite) UnLockGlobalTiKV()
UnLockGlobalTiKV unlocks withTiKVGlobalLock
Click to show internal directories.
Click to hide internal directories.