Documentation
¶
Overview ¶
Package testing contains internal testing utilities we apply in go-dbkit.
Index ¶
- func DeadlockTest(t *testing.T, dialect dbkit.Dialect, checkDeadlockErr func(err error) bool)
- func MustRunAndOpenTestDB(ctx context.Context, dialect string) (db *sql.DB, stop func(ctx context.Context) error)
- func RunAndOpenTestDB(ctx context.Context, dialect string) (db *sql.DB, stop func(ctx context.Context) error, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeadlockTest ¶
DeadlockTest is internal function to simulate DB deadlock
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.