Kill all!

This commit is contained in:
Ryan Williams
2010-02-24 14:10:12 -05:00
parent a50782425b
commit 8e4a3be064

View File

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