mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
24 lines
577 B
Go
24 lines
577 B
Go
package grpcquerynode
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestParamTable(t *testing.T) {
|
|
Params.Init()
|
|
|
|
assert.NotEqual(t, Params.IndexServiceAddress, "")
|
|
t.Logf("IndexServiceAddress:%s", Params.IndexServiceAddress)
|
|
|
|
assert.NotEqual(t, Params.DataServiceAddress, "")
|
|
t.Logf("DataServiceAddress:%s", Params.DataServiceAddress)
|
|
|
|
assert.NotEqual(t, Params.MasterAddress, "")
|
|
t.Logf("MasterAddress:%s", Params.MasterAddress)
|
|
|
|
assert.NotEqual(t, Params.QueryServiceAddress, "")
|
|
t.Logf("QueryServiceAddress:%s", Params.QueryServiceAddress)
|
|
}
|