[
https://issues.apache.org/jira/browse/THRIFT-3598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15132042#comment-15132042
]
Hudson commented on THRIFT-3598:
--------------------------------
FAILURE: Integrated in Thrift-precommit #38 (See
[https://builds.apache.org/job/Thrift-precommit/38/])
THRIFT-3598 Fixed TBufferedTransport constructor (phongphan.p:
[https://github.com/apache/thrift/commit/9275c6f40355e057e12c547b2898a5f7d001db2e])
* lib/lua/TBufferedTransport.lua
THRIFT-3598 Enable Lua's binary buffered test client (phongphan.p:
[https://github.com/apache/thrift/commit/1622d8a40b49685692086ddb1367915187a901ec])
* test/known_failures_Linux.json
THRIFT-3598 Use transport abstraction instead of socket (phongphan.p:
[https://github.com/apache/thrift/commit/fd91ee241fc09d7e61da83fe0f0cbdb4a96b8a10])
* test/lua/test_basic_client.lua
> TBufferedTransport doesn't instantiate client connection
> --------------------------------------------------------
>
> Key: THRIFT-3598
> URL: https://issues.apache.org/jira/browse/THRIFT-3598
> Project: Thrift
> Issue Type: Bug
> Components: Lua - Library
> Affects Versions: 0.9.3
> Environment: Linux
> Reporter: Phongphan Phuttha
>
> The TBufferedTransport doesn't seem to correctly instantiated.
> {code}
> local socket = TSocket:new{
> host = '127.0.0.1',
> port = 9090
> }
> assert(socket, 'Failed to create client socket')
> socket:setTimeout(5000)
> local transport = TBufferedTransport:new{
> trans = socket
> }
> assert(transport, 'Failed to create buffered transport')
> local protocol = TBinaryProtocol:new{
> trans = transport
> }
> assert(protocol, 'Failed to create binary protocol')
> local client = ThriftTestClient:new{
> protocol = protocol
> }
> assert(client, 'Failed to create client')
> -- Open the socket
> transport:open()
> client:ping()
> {code}
> The {{transport:open()}} doesn't open connection open to the server.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)