THRIFT-195. python: Add a simple THttpServer
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739638 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/py/RunClientServer.py b/test/py/RunClientServer.py
index b4fd382..34f883e 100755
--- a/test/py/RunClientServer.py
+++ b/test/py/RunClientServer.py
@@ -19,6 +19,8 @@
argv = [sys.executable, relfile("TestClient.py")]
if server_class in FRAMED:
argv.append('--framed')
+ if server_class == 'THttpServer':
+ argv.append('--http=/')
ret = subprocess.call(argv)
if ret != 0:
raise Exception("subprocess failed")
@@ -29,5 +31,11 @@
# wait for shutdown
time.sleep(1)
-map(runTest, ["TForkingServer", "TThreadPoolServer",
- "TThreadedServer", "TSimpleServer", "TNonblockingServer"])
+map(runTest, [
+ "TSimpleServer",
+ "TThreadedServer",
+ "TThreadPoolServer",
+ "TForkingServer",
+ "TNonblockingServer",
+ "THttpServer",
+ ])