mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +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)
|
|
}
|