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

changes/88/422288/4
Jenkins 6 years ago committed by Gerrit Code Review
commit 808ee14a91

@ -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):

Loading…
Cancel
Save