jsonrpc4j
jsonrpc4j copied to clipboard
JsonRpcServerAnnotateMethodVarArgsTest contains a lot of bad tests
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?