Documentation
¶
Overview ¶
The current package is based on an integration testing framework to test end-to-end transactions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
// NewTxn create a txn to execute read and write command
NewTxn(options ...client.TxnOption) (Txn, error)
}
Client used to execute read and write.
type Cluster ¶
type Cluster interface {
// Start start the cluster, block until all service started and all DNShard created
Start()
// Stop stop the cluster
Stop()
// Env return the test cluster env
Env() service.Cluster
// NewClient create a test txn client
NewClient() Client
// GetLogger returns the logger
GetLogger() *zap.Logger
}
Cluster txn testing cluster
Click to show internal directories.
Click to hide internal directories.