mirror of
https://github.com/netbirdio/netbird.git
synced 2025-07-23 09:00:18 +02:00
* Add Redis cache check to skip warm-up on startup if cache is already populated * Refactor Redis test container setup for reusability
23 lines
389 B
Go
23 lines
389 B
Go
//go:build ios
|
|
// +build ios
|
|
|
|
package testutil
|
|
|
|
func CreatePostgresTestContainer() (func(), error) {
|
|
return func() {
|
|
// Empty function for Postgres
|
|
}, nil
|
|
}
|
|
|
|
func CreateMysqlTestContainer() (func(), error) {
|
|
return func() {
|
|
// Empty function for MySQL
|
|
}, nil
|
|
}
|
|
|
|
func CreateRedisTestContainer() (func(), string, error) {
|
|
return func() {
|
|
// Empty function for Redis
|
|
}, "", nil
|
|
}
|