Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.2-alpha
Description
TestRPCCompatibility can fail intermittently with errors like the following when tests are not run in declaration order:
testVersion2ClientVersion1Server(org.apache.hadoop.ipc.TestRPCCompatibility): expected:<3> but was:<-3>
Moving the reset of the ProtocolSignature cache from ad-hoc usage in testVersion2ClientVersion2Server to tearDown fixes the issue.