mirror of https://github.com/milvus-io/milvus.git
Change node stop to TearDownTest (#21422)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/21438/head
parent
41bbfbec6a
commit
3a58ac9fba
|
@ -89,11 +89,15 @@ func (s *DataNodeServicesSuite) SetupTest() {
|
||||||
paramtable.SetNodeID(1)
|
paramtable.SetNodeID(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (s *DataNodeServicesSuite) TearDownTest() {
|
||||||
|
s.node.Stop()
|
||||||
|
s.node = nil
|
||||||
|
}
|
||||||
|
|
||||||
func (s *DataNodeServicesSuite) TearDownSuite() {
|
func (s *DataNodeServicesSuite) TearDownSuite() {
|
||||||
s.cancel()
|
s.cancel()
|
||||||
err := s.etcdCli.Close()
|
err := s.etcdCli.Close()
|
||||||
s.Require().NoError(err)
|
s.Require().NoError(err)
|
||||||
s.node.Stop()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *DataNodeServicesSuite) TestNotInUseAPIs() {
|
func (s *DataNodeServicesSuite) TestNotInUseAPIs() {
|
||||||
|
|
Loading…
Reference in New Issue