python: Make the unit tests run faster and more reliably
authorDavid Reiss <dreiss@apache.org>
Sat, 31 Jan 2009 21:39:08 +0000 (21:39 +0000)
committerDavid Reiss <dreiss@apache.org>
Sat, 31 Jan 2009 21:39:08 +0000 (21:39 +0000)
commit3166141fbd2152ae7281de95745089dcc4759d7d
tree18bd74b8940ac1ff26ed26f963c2ec6a2e43b85e
parentca823297fa14c738f9f84edafde62f6c26e64886
python: Make the unit tests run faster and more reliably

- The async test was making the server sleep for 2 seconds.  Cut it to 0.5.
- The test driver was waiting 5 seconds for shutdown.  Cut it to 1.
- Add a 0.25 second sleep to make sure the server comes up before the client.

This is all a bit hacky, but it is better than the status quo.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739628 13f79535-47bb-0310-9956-ffa450edef68
test/py/RunClientServer.py
test/py/TestClient.py