briandilley/jsonrpc4j

JsonRpcServerAnnotateMethodVarArgsTest contains a lot of bad tests

positron96 opened this issue · 1 comments

A lot of tests in JsonRpcServerAnnotateMethodVarArgsTest use internal byteArrayOutputStream to store result, but it never gets flushed between different calls. So every test that makes several RPC requests effectively validates only first requests, all the others get their output discarded (and result of the first request is checked against expected results of following requests)

can you submit a patch to fix?