diff options
author | George Goldberg <george@gberg.me> | 2017-05-01 05:19:58 +0100 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-05-01 00:19:58 -0400 |
commit | 597641545d1be04a1ba6c0b2d35c75fc2cfc8737 (patch) | |
tree | 4a5789acdeaf3924bd279672f8308572b91a9062 /api4 | |
parent | 5ab7726c1ec72678e505b87335eb011f97a09b3c (diff) | |
download | chat-597641545d1be04a1ba6c0b2d35c75fc2cfc8737.tar.gz chat-597641545d1be04a1ba6c0b2d35c75fc2cfc8737.tar.bz2 chat-597641545d1be04a1ba6c0b2d35c75fc2cfc8737.zip |
PLT-6355: Use separate Read Replicas for Search. (#6216)
Diffstat (limited to 'api4')
-rw-r--r-- | api4/system_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
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) { |