Adjust stop order in minicluster to avoid test fail (#23545)

Signed-off-by: wayblink <anyang.wang@zilliz.com>
This commit is contained in:
wayblink 2023-04-20 13:24:31 +08:00 committed by GitHub
parent aa2985490c
commit 0753d97d0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -423,8 +423,6 @@ func (cluster *MiniCluster) Start() error {
func (cluster *MiniCluster) Stop() error {
log.Info("mini cluster stop")
cluster.proxy.Stop()
log.Info("mini cluster proxy stopped")
cluster.rootCoord.Stop()
log.Info("mini cluster rootCoord stopped")
cluster.dataCoord.Stop()
@ -432,6 +430,8 @@ func (cluster *MiniCluster) Stop() error {
//cluster.indexCoord.Stop()
cluster.queryCoord.Stop()
log.Info("mini cluster queryCoord stopped")
cluster.proxy.Stop()
log.Info("mini cluster proxy stopped")
for _, dataNode := range cluster.dataNodes {
dataNode.Stop()