From 42abc49f101f2ea4b8eab13f77ee3f59512d06d9 Mon Sep 17 00:00:00 2001 From: David Shrewsbury Date: Thu, 18 May 2017 09:14:30 -0400 Subject: [PATCH] Add missing cleanup to statsd fixture Change-Id: I282583fbbebb5030ce9c2bfa4bb578d28081750c --- nodepool/tests/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nodepool/tests/__init__.py b/nodepool/tests/__init__.py index 72c45617a..5044402b0 100644 --- a/nodepool/tests/__init__.py +++ b/nodepool/tests/__init__.py @@ -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: