Add missing cleanup to statsd fixture

Change-Id: I282583fbbebb5030ce9c2bfa4bb578d28081750c
This commit is contained in:
David Shrewsbury 2017-05-18 09:14:30 -04:00
parent febe2a237d
commit 42abc49f10
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ class StatsdFixture(fixtures.Fixture):
self.wake_read, self.wake_write = os.pipe()
self.stats = []
self.thread.start()
self.addCleanup(self._cleanup)
def run(self):
while self.running: