erlang: Make the test_server use thrift_socket_server
thrift_server is deprecated, it seems.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@990971 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/erl/src/test_server.erl b/test/erl/src/test_server.erl
index 134c7cb..6797dd8 100644
--- a/test/erl/src/test_server.erl
+++ b/test/erl/src/test_server.erl
@@ -24,7 +24,9 @@
-include("thriftTest_types.hrl").
start_link(Port) ->
- thrift_server:start_link(Port, thriftTest_thrift, ?MODULE).
+ thrift_socket_server:start([{handler, ?MODULE},
+ {service, thriftTest_thrift},
+ {port, Port}]).
handle_function(testVoid, {}) ->