mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +08:00
19 lines
315 B
Go
19 lines
315 B
Go
|
package metrics
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestRegisterMetrics(t *testing.T) {
|
||
|
// Make sure it doesn't panic.
|
||
|
RegisterMaster()
|
||
|
RegisterDataNode()
|
||
|
RegisterDataService()
|
||
|
RegisterIndexNode()
|
||
|
RegisterIndexService()
|
||
|
RegisterProxyNode()
|
||
|
RegisterQueryNode()
|
||
|
RegisterQueryService()
|
||
|
RegisterMsgStreamService()
|
||
|
}
|