e417b62 allows to remove sleep from cleaner test

This commit is contained in:
Dmitri Bogomolov 2018-10-11 16:34:57 +03:00
parent 5572e6b3a1
commit 1c2bef46c1
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -99,7 +99,8 @@ class TestCore(unittest.TestCase):
for nodes in knownnodes.knownNodes.itervalues(): for nodes in knownnodes.knownNodes.itervalues():
for node in nodes.itervalues(): for node in nodes.itervalues():
node['lastseen'] -= 2419205 # older than 28 days node['lastseen'] -= 2419205 # older than 28 days
time.sleep(303) # singleCleaner wakes up every 5 min # time.sleep(303) # singleCleaner wakes up every 5 min
knownnodes.cleanupKnownNodes()
while True: while True:
try: try:
thread, exc = excQueue.get(block=False) thread, exc = excQueue.get(block=False)