Update test code with TPipedTransport

Reviewed By: tbr-aditya


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664989 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/cpp/src/main.cpp b/test/cpp/src/main.cpp
index 266d6b6..235f21a 100644
--- a/test/cpp/src/main.cpp
+++ b/test/cpp/src/main.cpp
@@ -10,7 +10,6 @@
 #include <transport/TServerSocket.h>
 #include <transport/TSocket.h>
 #include <transport/TTransportUtils.h>
-#include <transport/TBufferedRouterTransport.h>
 #include <transport/TFileTransport.h>
 #include <TLogging.h>
 
@@ -358,7 +357,7 @@
       fileTransport->setMaxEventSize(1024 * 16);
       
       transportFactory = 
-        shared_ptr<TTransportFactory>(new TBufferedRouterTransportFactory(fileTransport));
+        shared_ptr<TTransportFactory>(new TPipedTransportFactory(fileTransport));
     }
 
     shared_ptr<Thread> serverThread;