Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestEnvContext ¶
type TestEnvContext interface { // Use these addresses when connecting to the RPC system using your // own client instance. TServerExternalRPCPort() string // Use these addresses when connecting to the YSQL system using your // own client instance. TServerExternalYSQLPort() string // Always clean up after your run. Cleanup() // Other allocated ports for this TServer. OtherPorts() common.AllocatedAdditionalPorts }
TestEnvContext represents a test YugabyteDB TServer environment context.
func SetupTServer ¶
func SetupTServer(t *testing.T, mastersCtx master.TestEnvContext, config *common.TestTServerConfiguration) TestEnvContext
SetupTServer sets up a single YugabyteDB TServer.
Click to show internal directories.
Click to hide internal directories.