thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (THRIFT-4016) testInsanity() impl does not conform to test spec in ThriftTest.thrift
Date Mon, 02 Jan 2017 09:24:58 GMT

     [ https://issues.apache.org/jira/browse/THRIFT-4016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jens Geyer reopened THRIFT-4016:
--------------------------------

Same for C#

> testInsanity() impl does not conform to test spec in ThriftTest.thrift
> ----------------------------------------------------------------------
>
>                 Key: THRIFT-4016
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4016
>             Project: Thrift
>          Issue Type: Bug
>          Components: C# - Library, Delphi - Library
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 0.11.0
>
>         Attachments: 0001-THRIFT-4016-testInsanity-impl-does-not-conform-to-te.patch
>
>
> The Delphi impl of the testInsanity() method does not conform to test spec in ThriftTest.thrift:
> {code}
>   /**
>    * So you think you've got this all worked, out eh?
>    *
>    * Creates a the returned map with these values and prints it out:
>    *   { 1 => { 2 => argument,
>    *            3 => argument,
>    *          },
>    *     2 => { 6 => <empty Insanity struct>, },
>    *   }
>    * @return map<UserId, map<Numberz,Insanity>> - a map with the above values
>    */
> {code}
> The server delivered more data and the client tested that. Running the client against
(e.g.) a C++ server will incorrectly render an error about the values returned by that server
being incorrect. However, the only thing wrong here is the Delphi impl of that test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message