mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-20 20:32:06 +08:00
test_models: fix runaway memory growth for long running tests (#26295)
* delete can msgs * only can msgs
This commit is contained in:
@@ -109,6 +109,10 @@ class TestCarModelBase(unittest.TestCase):
|
||||
assert cls.CP
|
||||
assert cls.CP.carFingerprint == cls.car_model
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
del cls.can_msgs
|
||||
|
||||
def setUp(self):
|
||||
self.CI = self.CarInterface(self.CP, self.CarController, self.CarState)
|
||||
assert self.CI
|
||||
|
||||
Reference in New Issue
Block a user