PLT-6355: Use separate Read Replicas for Search. (#6216)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
5ab7726c1e
Коммит
597641545d
@@ -67,6 +67,9 @@ func TestGetConfig(t *testing.T) {
|
||||
if !strings.Contains(strings.Join(cfg.SqlSettings.DataSourceReplicas, " "), model.FAKE_SETTING) && len(cfg.SqlSettings.DataSourceReplicas) != 0 {
|
||||
t.Fatal("did not sanitize properly")
|
||||
}
|
||||
if !strings.Contains(strings.Join(cfg.SqlSettings.DataSourceSearchReplicas, " "), model.FAKE_SETTING) && len(cfg.SqlSettings.DataSourceSearchReplicas) != 0 {
|
||||
t.Fatal("did not sanitize properly")
|
||||
}
|
||||
}
|
||||
|
||||
func TestReloadConfig(t *testing.T) {
|
||||
|
||||
Ссылка в новой задаче
Block a user