Merge "Remove excess printing from stats test" into feature/zuulv3

This commit is contained in:
Jenkins 2017-01-18 21:23:59 +00:00 committed by Gerrit Code Review
commit 808ee14a91
1 changed files with 0 additions and 3 deletions

View File

@ -21,7 +21,6 @@ import hashlib
import json
import logging
import os
import pprint
from six.moves import queue as Queue
from six.moves import urllib
import random
@ -1616,7 +1615,6 @@ class ZuulTestCase(BaseTestCase):
start = time.time()
while time.time() < (start + 5):
for stat in self.statsd.stats:
pprint.pprint(self.statsd.stats)
k, v = stat.split(':')
if key == k:
if value is None and kind is None:
@ -1629,7 +1627,6 @@ class ZuulTestCase(BaseTestCase):
return
time.sleep(0.1)
pprint.pprint(self.statsd.stats)
raise Exception("Key %s not found in reported stats" % key)
def assertBuilds(self, builds):