From 597641545d1be04a1ba6c0b2d35c75fc2cfc8737 Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Mon, 1 May 2017 05:19:58 +0100 Subject: PLT-6355: Use separate Read Replicas for Search. (#6216) --- api4/system_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'api4/system_test.go') diff --git a/api4/system_test.go b/api4/system_test.go index 850705040..62a2a6443 100644 --- a/api4/system_test.go +++ b/api4/system_test.go @@ -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) { -- cgit v1.2.3-1-g7c22