mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
Banner use UTC time (#6102)
* banner use UTC time Signed-off-by: yudong.cai <yudong.cai@zilliz.com> * rename master to rootcoord Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
This commit is contained in:
parent
fae67007b8
commit
64d1fa2de2
2
Makefile
2
Makefile
@ -84,7 +84,7 @@ binlog:
|
||||
@mkdir -p $(INSTALL_PATH) && go env -w CGO_ENABLED="1" && GO111MODULE=on $(GO) build -o $(INSTALL_PATH)/binlog $(PWD)/cmd/binlog/main.go 1>/dev/null
|
||||
|
||||
BUILD_TAGS = $(shell git describe --tags --always --dirty="-dev")
|
||||
BUILD_TIME = $(shell date)
|
||||
BUILD_TIME = $(shell date --utc)
|
||||
GIT_COMMIT = $(shell git rev-parse --short HEAD)
|
||||
GO_VERSION = $(shell go version)
|
||||
|
||||
|
@ -277,8 +277,8 @@ func TestRootCoord(t *testing.T) {
|
||||
assert.Nil(t, err)
|
||||
randVal := rand.Int()
|
||||
|
||||
Params.TimeTickChannel = fmt.Sprintf("master-time-tick-%d", randVal)
|
||||
Params.StatisticsChannel = fmt.Sprintf("master-statistics-%d", randVal)
|
||||
Params.TimeTickChannel = fmt.Sprintf("rootcoord-time-tick-%d", randVal)
|
||||
Params.StatisticsChannel = fmt.Sprintf("rootcoord-statistics-%d", randVal)
|
||||
Params.MetaRootPath = fmt.Sprintf("/%d/%s", randVal, Params.MetaRootPath)
|
||||
Params.KvRootPath = fmt.Sprintf("/%d/%s", randVal, Params.KvRootPath)
|
||||
Params.MsgChannelSubName = fmt.Sprintf("subname-%d", randVal)
|
||||
@ -1534,10 +1534,10 @@ func TestRootCoord(t *testing.T) {
|
||||
assert.Equal(t, commonpb.ErrorCode_UnexpectedError, s.ErrorCode)
|
||||
time.Sleep(1 * time.Second)
|
||||
|
||||
// 2 proxy nodes, 1 master
|
||||
// 2 proxy, 1 rootcoord
|
||||
assert.Equal(t, 3, core.chanTimeTick.GetProxyNum())
|
||||
|
||||
// 3 proxy node channels, 2 master channels
|
||||
// 3 proxy channels, 2 rootcoord channels
|
||||
assert.Equal(t, 5, core.chanTimeTick.GetChanNum())
|
||||
})
|
||||
|
||||
@ -1756,8 +1756,8 @@ func TestRootCoord2(t *testing.T) {
|
||||
assert.Nil(t, err)
|
||||
randVal := rand.Int()
|
||||
|
||||
Params.TimeTickChannel = fmt.Sprintf("master-time-tick-%d", randVal)
|
||||
Params.StatisticsChannel = fmt.Sprintf("master-statistics-%d", randVal)
|
||||
Params.TimeTickChannel = fmt.Sprintf("rootcoord-time-tick-%d", randVal)
|
||||
Params.StatisticsChannel = fmt.Sprintf("rootcoord-statistics-%d", randVal)
|
||||
Params.MetaRootPath = fmt.Sprintf("/%d/%s", randVal, Params.MetaRootPath)
|
||||
Params.KvRootPath = fmt.Sprintf("/%d/%s", randVal, Params.KvRootPath)
|
||||
Params.MsgChannelSubName = fmt.Sprintf("subname-%d", randVal)
|
||||
|
Loading…
Reference in New Issue
Block a user