mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-02 01:06:41 +08:00
Change node stop to TearDownTest (#21422)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
41bbfbec6a
commit
3a58ac9fba
@ -89,11 +89,15 @@ func (s *DataNodeServicesSuite) SetupTest() {
|
||||
paramtable.SetNodeID(1)
|
||||
}
|
||||
|
||||
func (s *DataNodeServicesSuite) TearDownTest() {
|
||||
s.node.Stop()
|
||||
s.node = nil
|
||||
}
|
||||
|
||||
func (s *DataNodeServicesSuite) TearDownSuite() {
|
||||
s.cancel()
|
||||
err := s.etcdCli.Close()
|
||||
s.Require().NoError(err)
|
||||
s.node.Stop()
|
||||
}
|
||||
|
||||
func (s *DataNodeServicesSuite) TestNotInUseAPIs() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user