Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyMigrations ¶ added in v0.17.0
ApplyMigrations runs all pending SQL and Redis migrations for the given config. E2E tests must call this before starting the app, since the app refuses to start when migrations are pending.
func CreateRedisClusterConfig ¶ added in v0.6.0
func CreateRedisClusterConfig(t *testing.T) *redis.RedisConfig
CreateRedisClusterConfig creates a Redis cluster configuration for testing Returns nil if TEST_REDIS_CLUSTER_URL is not set
Types ¶
type BasicOpts ¶
type BasicOpts struct {
LogStorage LogStorageType
RedisConfig *redis.RedisConfig // Optional Redis config override
DeploymentID string // Optional deployment ID for multi-tenancy testing
}
type LogStorageType ¶
type LogStorageType string
const ( LogStorageTypePostgres LogStorageType = "postgres" LogStorageTypeClickHouse LogStorageType = "clickhouse" )
Click to show internal directories.
Click to hide internal directories.