mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +08:00
bbfcbbdd68
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
22 lines
425 B
Go
22 lines
425 B
Go
package grpcdatanode
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestParamTable(t *testing.T) {
|
|
Params.Init()
|
|
|
|
assert.NotEqual(t, Params.Port, 0)
|
|
t.Logf("DataNode Port:%d", Params.Port)
|
|
|
|
assert.NotEqual(t, Params.DataServiceAddress, "")
|
|
t.Logf("DataServiceAddress:%s", Params.DataServiceAddress)
|
|
|
|
assert.NotEqual(t, Params.MasterAddress, "")
|
|
t.Logf("MasterAddress:%s", Params.MasterAddress)
|
|
|
|
}
|