Kill all!
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user