Documentation ¶
Index ¶
- func AssertContainsError(t *testing.T, conn *mysql.Conn, query, expected string)
- func AssertFoundRowsValue(t *testing.T, conn *mysql.Conn, query, workload string, count int)
- func AssertIsEmpty(t *testing.T, conn *mysql.Conn, query string)
- func AssertMatches(t *testing.T, conn *mysql.Conn, query, expected string)
- func AssertMatchesNoOrder(t *testing.T, conn *mysql.Conn, query, expected string)
- func AssertMatchesWithTimeout(t *testing.T, conn *mysql.Conn, query, expected string, r time.Duration, ...)
- func AssertResultIsEmpty(t *testing.T, conn *mysql.Conn, pre string)
- func AssertSingleRowIsReturned(t *testing.T, conn *mysql.Conn, predicate string, expectedKs string)
- func Exec(t *testing.T, conn *mysql.Conn, query string) *sqltypes.Result
- func ExecAllowError(t *testing.T, conn *mysql.Conn, query string) (*sqltypes.Result, error)
- func SkipIfBinaryIsBelowVersion(t *testing.T, majorVersion int, binary string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertContainsError ¶ added in v0.12.4
func AssertFoundRowsValue ¶
func AssertMatchesNoOrder ¶
func AssertMatchesWithTimeout ¶ added in v0.13.1
func AssertMatchesWithTimeout(t *testing.T, conn *mysql.Conn, query, expected string, r time.Duration, d time.Duration, failureMsg string)
AssertMatchesWithTimeout asserts that the given query produces the expected result. The query will be executed every 'r' duration until it matches the expected result. If after 'd' duration we still did not find the expected result, the test will be marked as failed.
func ExecAllowError ¶ added in v0.12.4
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.