Rename name of unittests in query node (#8225)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/8237/head
bigsheeper 2021-09-18 18:05:51 +08:00 committed by GitHub
parent 5cced52ff5
commit 223044a7ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -18,14 +18,14 @@ import (
"go.uber.org/zap"
)
func TestMsgQueryNodeIsUnhealthy(t *testing.T) {
func TestErrors_MsgQueryNodeIsUnhealthy(t *testing.T) {
nodeIDList := []UniqueID{1, 2, 3}
for _, nodeID := range nodeIDList {
log.Info("TestMsgQueryNodeIsUnhealthy", zap.String("msg", msgQueryNodeIsUnhealthy(nodeID)))
}
}
func TestErrQueryNodeIsUnhealthy(t *testing.T) {
func TestErrors_ErrQueryNodeIsUnhealthy(t *testing.T) {
nodeIDList := []UniqueID{1, 2, 3}
for _, nodeID := range nodeIDList {
log.Info("TestErrQueryNodeIsUnhealthy", zap.Error(errQueryNodeIsUnhealthy(nodeID)))