chore: update cluster testing
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
2b4cab0a95
commit
24c3492541
|
@ -107,6 +107,7 @@ func (suite *ConfigTestSuite) TestValidateConfDefault() {
|
|||
assert.Equal(suite.T(), true, suite.ConfGorushDefault.Log.HideToken)
|
||||
|
||||
assert.Equal(suite.T(), "memory", suite.ConfGorushDefault.Stat.Engine)
|
||||
assert.Equal(suite.T(), false, suite.ConfGorushDefault.Stat.Redis.Cluster)
|
||||
assert.Equal(suite.T(), "localhost:6379", suite.ConfGorushDefault.Stat.Redis.Addr)
|
||||
assert.Equal(suite.T(), "", suite.ConfGorushDefault.Stat.Redis.Password)
|
||||
assert.Equal(suite.T(), 0, suite.ConfGorushDefault.Stat.Redis.DB)
|
||||
|
@ -184,6 +185,7 @@ func (suite *ConfigTestSuite) TestValidateConf() {
|
|||
assert.Equal(suite.T(), true, suite.ConfGorush.Log.HideToken)
|
||||
|
||||
assert.Equal(suite.T(), "memory", suite.ConfGorush.Stat.Engine)
|
||||
assert.Equal(suite.T(), false, suite.ConfGorush.Stat.Redis.Cluster)
|
||||
assert.Equal(suite.T(), "localhost:6379", suite.ConfGorush.Stat.Redis.Addr)
|
||||
assert.Equal(suite.T(), "", suite.ConfGorush.Stat.Redis.Password)
|
||||
assert.Equal(suite.T(), 0, suite.ConfGorush.Stat.Redis.DB)
|
||||
|
|
Loading…
Reference in New Issue