From 8e4a3be064061bce7135847ef51a1040481fd68e Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Wed, 24 Feb 2010 14:10:12 -0500 Subject: [PATCH] Kill all! --- tests/tpool_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/tpool_test.py b/tests/tpool_test.py index c0b2633..22869b9 100644 --- a/tests/tpool_test.py +++ b/tests/tpool_test.py @@ -219,6 +219,7 @@ class TpoolLongTests(LimitedTestCase): pile.spawn(sender_loop,i) results = list(pile) self.assertEquals(len(results), 10) + tpool.killall() @skipped def test_benchmark(self): @@ -240,7 +241,7 @@ from eventlet.tpool import execute tpool_overhead = (best_tpool-best_normal)/iterations print "%s iterations\nTpool overhead is %s seconds per call. Normal: %s; Tpool: %s" % ( iterations, tpool_overhead, best_normal, best_tpool) - + tpool.killall() if __name__ == '__main__': main()