mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +08:00
ae3daff5e4
* rename master_service.go to root_coordinator.go Signed-off-by: yudong.cai <yudong.cai@zilliz.com> * rename service to coordinator under cmd Signed-off-by: yudong.cai <yudong.cai@zilliz.com> * rename service to coord under cmd Signed-off-by: yudong.cai <yudong.cai@zilliz.com> * rename service to coord for metrics Signed-off-by: yudong.cai <yudong.cai@zilliz.com> * rename service to coord for masterservice Signed-off-by: yudong.cai <yudong.cai@zilliz.com> * fix metrics unittest Signed-off-by: yudong.cai <yudong.cai@zilliz.com> * roll back cmd Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
19 lines
310 B
Go
19 lines
310 B
Go
package metrics
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestRegisterMetrics(t *testing.T) {
|
|
// Make sure it doesn't panic.
|
|
RegisterRootCoord()
|
|
RegisterDataNode()
|
|
RegisterDataCoord()
|
|
RegisterIndexNode()
|
|
RegisterIndexCoord()
|
|
RegisterProxyNode()
|
|
RegisterQueryNode()
|
|
RegisterQueryCoord()
|
|
RegisterMsgStreamCoord()
|
|
}
|