Description
treardon writes:
The problem is that Mutation.equals() calls a private serialize() method that modifies the data about to be checked. I have successfully worked around this in the past by wrapping the Mutation in a new Mutation, which calls serialize under the hood:
assertEquals(expectedMutation, new Mutation(actualMutation));
This applies to 1.4.x, I don't know if Mutation.equals() has changed since then.
Attachments
Issue Links
- is related to
-
ACCUMULO-1626 Mutation equals() method does not always work
- Resolved