You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2010/08/31 00:05:16 UTC

svn commit: r990970 - /incubator/thrift/trunk/test/erl/src/test_server.erl

Author: dreiss
Date: Mon Aug 30 22:05:16 2010
New Revision: 990970

URL: http://svn.apache.org/viewvc?rev=990970&view=rev
Log:
erlang: Make the test server compatible with the Python test client

The Python test client expects a specific value in some responses.

Modified:
    incubator/thrift/trunk/test/erl/src/test_server.erl

Modified: incubator/thrift/trunk/test/erl/src/test_server.erl
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/test/erl/src/test_server.erl?rev=990970&r1=990969&r2=990970&view=diff
==============================================================================
--- incubator/thrift/trunk/test/erl/src/test_server.erl (original)
+++ incubator/thrift/trunk/test/erl/src/test_server.erl Mon Aug 30 22:05:16 2010
@@ -150,7 +150,7 @@ handle_function(testException, {String})
     case String of
         <<"Xception">> ->
             throw(#xception{errorCode = 1001,
-                            message = <<"This is an Xception">>});
+                            message = String});
         _ ->
             ok
     end;