Documentation
¶
Overview ¶
Package backup and recovery tests for different storage types in distributed mode.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupClientConnection ¶
func SetupClientConnection(address string) (*grpc.ClientConn, error)
SetupClientConnection sets up the connection to the server.
func SetupSharedContext ¶
func SetupSharedContext(vars *CommonTestVars, destURL string, s3Args []string)
SetupSharedContext sets up the context for testing.
func TeardownSuite ¶
func TeardownSuite(vars *CommonTestVars)
TeardownSuite cleans up the test suite.
Types ¶
type CommonTestVars ¶
type CommonTestVars struct {
DeferFunc func()
Dir string
DestDir string
DataAddr string
FS remote.FS
Connection *grpc.ClientConn
Goods []gleak.Goroutine
}
CommonTestVars holds common test variables.
func InitializeTestSuite ¶
func InitializeTestSuite() (*CommonTestVars, error)
InitializeTestSuite initializes the test suite by setting up the necessary components.
Click to show internal directories.
Click to hide internal directories.