Commit 50ce399b authored by Jason Madden's avatar Jason Madden

Tweak timeout

parent ae45fbc8
......@@ -336,7 +336,7 @@ class TestMaxsize(TestCase):
self.pool = ThreadPool(0)
done = []
gevent.spawn(self.pool.spawn, done.append, 1)
gevent.spawn_later(0.0001, self.pool.spawn, done.append, 2)
gevent.spawn_later(0.001, self.pool.spawn, done.append, 2)
gevent.sleep(0.01)
self.assertEqual(done, [])
self.pool.maxsize = 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment