[
https://issues.apache.org/jira/browse/THRIFT-3715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chandler May updated THRIFT-3715:
---------------------------------
Issue Type: Test (was: Bug)
> Test that protocol failure when thrift_transport_read_all performs only one
> read
> --------------------------------------------------------------------------------
>
> Key: THRIFT-3715
> URL: https://issues.apache.org/jira/browse/THRIFT-3715
> Project: Thrift
> Issue Type: Test
> Components: C glib - Library
> Affects Versions: 0.10.0
> Reporter: Chandler May
> Assignee: Chandler May
> Priority: Minor
>
> In THRIFT-3569 tests called ReadAndWriteManyFrames were added in the binary
> and compact protocol test suites to check that the protocols failed on larger
> reads (before thrift_transport_read_all was implemented and applied). These
> tests were shown to (erroneously) succeed when thrift_transport_read_all is
> replaced with a single read (instead of a loop). Perhaps the best solution
> is to create a fake transport with a fixed (e.g.) single-byte read for
> testing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)