testhelpers

package
v0.0.0-...-c4f3291 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShardingUnitTestSuite

type ShardingUnitTestSuite struct {
	suite.Suite

	SourceDB *sql.DB
	TargetDB *sql.DB
	Ferry    *sharding.ShardingFerry
	Config   *sharding.Config

	CutoverLock   func(http.ResponseWriter, *http.Request)
	CutoverUnlock func(http.ResponseWriter, *http.Request)
	ErrorCallback func(http.ResponseWriter, *http.Request)
	// contains filtered or unexported fields
}

func (*ShardingUnitTestSuite) AssertTenantCopied

func (t *ShardingUnitTestSuite) AssertTenantCopied()

func (*ShardingUnitTestSuite) SetupSuite

func (t *ShardingUnitTestSuite) SetupSuite()

func (*ShardingUnitTestSuite) SetupTest

func (t *ShardingUnitTestSuite) SetupTest()

func (*ShardingUnitTestSuite) TearDownSuite

func (t *ShardingUnitTestSuite) TearDownSuite()

func (*ShardingUnitTestSuite) TearDownTest

func (t *ShardingUnitTestSuite) TearDownTest()

Jump to

Keyboard shortcuts

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