[ 
https://issues.apache.org/jira/browse/THRIFT-5060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17019259#comment-17019259
 ] 

Kengo Seki commented on THRIFT-5060:
------------------------------------

Currently, TestClient and TestServer implemented with C++ supports the 
following options.

{code}
$ cpp/TestClient -h
Allowed options:
  -h [ --help ]               produce help message
  --host arg (=localhost)     Host to connect
  --port arg (=9090)          Port number to connect
  --domain-socket arg         Domain Socket (e.g. /tmp/ThriftTest.thrift),
                              instead of host and port
  --abstract-namespace        Look for the domain socket in the Abstract
                              Namespace (no connection with filesystem
                              pathnames)
  --transport arg (=buffered) Transport: buffered, framed, http, evhttp, zlib
  --protocol arg (=binary)    Protocol: binary, compact, header, json, multi,
                              multic, multih, multij
  --ssl                       Encrypted Transport using SSL
  --zlib                      Wrap Transport with Zlib
  -n [ --testloops ] arg (=1) Number of Tests
  --noinsane                  Do not run insanity test

$ cpp/TestServer -h
Allowed options:
  -h [ --help ]               produce help message
  --port arg (=9090)          Port number to listen
  --domain-socket arg         Unix Domain Socket (e.g. /tmp/ThriftTest.thrift)
  --abstract-namespace        Create the domain socket in the Abstract
                              Namespace (no connection with filesystem
                              pathnames)
  --server-type arg (=simple) type of server, "simple", "thread-pool",
                              "threaded", or "nonblocking"
  --transport arg (=buffered) transport: buffered, framed, http, zlib
  --protocol arg (=binary)    protocol: binary, compact, header, json, multi,
                              multic, multih, multij
  --ssl                       Encrypted Transport using SSL
  --zlib                      Wrapped Transport using Zlib
  --processor-events          processor-events
  -n [ --workers ] arg (=4)   Number of thread pools workers. Only valid for
                              thread-pool server type
  --string-limit arg
  --container-limit arg
{code}

But some options in these messages, such as "noinsane" and "processor-events", 
are not supported in other languages.

The title of the section that I'm going to fix is "Test executable 
specification", so I'm going to drop these language-specific options and leave 
the options that all languages should support, rather than simply 
copy-and-paste the above help messages.

> Add cross tests for TZlibTransport in Java
> ------------------------------------------
>
>                 Key: THRIFT-5060
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5060
>             Project: Thrift
>          Issue Type: Test
>          Components: Java - Library
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>            Priority: Major
>             Fix For: 0.14.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Java supports TZlibTransport, but cross tests for it are not defined in 
> test/tests.json. Let's enable it to ensure interoperability.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to