mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 12:59:23 +08:00
96b97f7f58
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
15 lines
236 B
Go
15 lines
236 B
Go
package paramtable
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestHTTPConfig_Init(t *testing.T) {
|
|
cf := new(HTTPConfig)
|
|
cf.InitOnce()
|
|
assert.Equal(t, cf.Enabled, true)
|
|
assert.Equal(t, cf.DebugMode, false)
|
|
}
|