From 1c2bef46c11495d2dd5cd48a53a5c4a9bd7b50c0 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Thu, 11 Oct 2018 16:34:57 +0300 Subject: [PATCH] e417b62 allows to remove sleep from cleaner test --- src/tests/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tests/core.py b/src/tests/core.py index 0a266555..5706f04b 100644 --- a/src/tests/core.py +++ b/src/tests/core.py @@ -99,7 +99,8 @@ class TestCore(unittest.TestCase): for nodes in knownnodes.knownNodes.itervalues(): for node in nodes.itervalues(): 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: try: thread, exc = excQueue.get(block=False)