From 0753d97d0b46b5de42875557e361837e2ffceca7 Mon Sep 17 00:00:00 2001 From: wayblink Date: Thu, 20 Apr 2023 13:24:31 +0800 Subject: [PATCH] Adjust stop order in minicluster to avoid test fail (#23545) Signed-off-by: wayblink --- tests/integration/minicluster.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/minicluster.go b/tests/integration/minicluster.go index 8c7f9c4e64..1bd6f0b549 100644 --- a/tests/integration/minicluster.go +++ b/tests/integration/minicluster.go @@ -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()