diff --git a/internal/querycoordv2/observers/collection_observer_test.go b/internal/querycoordv2/observers/collection_observer_test.go index 6f26a92452..97c4dbe1d0 100644 --- a/internal/querycoordv2/observers/collection_observer_test.go +++ b/internal/querycoordv2/observers/collection_observer_test.go @@ -226,8 +226,8 @@ func (suite *CollectionObserverSuite) SetupTest() { } func (suite *CollectionObserverSuite) TearDownTest() { - suite.targetObserver.Stop() suite.ob.Stop() + suite.targetObserver.Stop() suite.kv.Close() }