[
https://issues.apache.org/jira/browse/THRIFT-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chamila Dilshan Wijayarathna updated THRIFT-2578:
-------------------------------------------------
Attachment: 0001-THRIFT-2578-Moving-make-cross-from-test.sh-to-test.p.patch
Ruby and Nodejs server, client tests added.
cpp,py, node and rb tests now have all protocols and transports we had in
test.sh.
Since some clients get stuck at the middle of execution which caused whole
test.py to wait, I added a timeout of 10 seconds to client. So client process
will be killed if it does not finish withing 10 seconds. Value 10 can be fine
tuned to make this more efficient.
There was call to 'ensureServerAlive()' method which raises an exception,
within a finally clause. So since this exception is not caught anywhere this
causes test.py to stop. I removed it assuming it is not essential there. Please
give any feedback for that.
> Moving 'make cross' from test.sh to test.py
> -------------------------------------------
>
> Key: THRIFT-2578
> URL: https://issues.apache.org/jira/browse/THRIFT-2578
> Project: Thrift
> Issue Type: Sub-task
> Components: Test Suite
> Reporter: Chamila Dilshan Wijayarathna
> Assignee: Roger Meier
> Labels: gsoc2014
> Attachments:
> 0001-THRIFT-2578-Moving-make-cross-from-test.sh-to-test.p.patch,
> 0001-THRIFT-2578-Moving-make-cross-from-test.sh-to-test.p.patch
>
>
> Since test.sh has too much redundant code, we are planning to move cross
> language test suite to test.py. By moving this, other than removing
> redundancy we expect to achieve following.
> seperate file to define the tests for server and clients
> cross platform (=> become able to run it on windows)
> remove limitations of scripting language.
> [~roger.meier] has added a initial version of this. Following are yet to do.
> reporting page
> log files
> add languages
> run on windows
--
This message was sent by Atlassian JIRA
(v6.2#6252)