127
128
// GetSQLiteMemoryTestClusterOption return test options
129
>
func GetSQLiteMemoryTestClusterOption() *TestBaseOptions {
setup.go
130
>
return &TestBaseOptions{
131
>
SQLDBPluginName: sqlite.PluginName,
132
>
DBName: GenerateRandomDBName(),
133
>
DBUsername: testSQLiteUser,
134
>
DBPassword: testSQLitePassword,
135
>
DBHost: environment.GetLocalhostIP(),
136
>
DBPort: 0,
137
>
SchemaDir: "",
138
>
StoreType: config.StoreTypeSQL,
139
>
ConnectAttributes: map[string]string{"mode": testSQLiteMode, "cache": testSQLiteCache},
140
>
}
141
>
}