Author: dreiss
Date: Tue Jun 10 17:57:01 2008
New Revision: 666412

URL: http://svn.apache.org/viewvc?rev=666412&view=rev
Log:
Implement testAsync for python tests

Modified:
    incubator/thrift/trunk/test/py/TestServer.py

Modified: incubator/thrift/trunk/test/py/TestServer.py
URL: 
http://svn.apache.org/viewvc/incubator/thrift/trunk/test/py/TestServer.py?rev=666412&r1=666411&r2=666412&view=diff
==============================================================================
--- incubator/thrift/trunk/test/py/TestServer.py (original)
+++ incubator/thrift/trunk/test/py/TestServer.py Tue Jun 10 17:57:01 2008
@@ -59,6 +59,11 @@
     time.sleep(seconds)
     print 'done sleeping'
 
+  def testAsync(self, seconds):
+    print 'testAsync(%d) => sleeping...' % seconds
+    time.sleep(seconds)
+    print 'done sleeping'
+
 handler = TestHandler()
 processor = ThriftTest.Processor(handler)
 transport = TSocket.TServerSocket(9090)


Reply via email to