return 1 if transport open fails

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1211868 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/cpp/src/TestClient.cpp b/test/cpp/src/TestClient.cpp
index c1d6e07..ed560cb 100755
--- a/test/cpp/src/TestClient.cpp
+++ b/test/cpp/src/TestClient.cpp
@@ -229,7 +229,7 @@
       transport->open();
     } catch (TTransportException& ttx) {
       printf("Connect failed: %s\n", ttx.what());
-      continue;
+      return 1;
     }
 
     /**