Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.15.0
Description
The test appends a lot of strings to a key. It wound up adding (at least one) extra string to the stored string:
{{java.util.concurrent.ExecutionException: java.lang.AssertionError: unexpected -
{append0}-key-3-27680 at index 27681 iterationCount=61995 in string}}
The string "{append0}-key-3-27680" appeared twice in sequence.
Additional to this failure, the test should be modified to produce a more useful failure message. The current assertion prints the entire String upon failure, which can contain upwards of 50,000 repeats of the "{append0}-key-3*" String, making the output large and unreadable. Consider using an assertion with .withFailureMessage() to produce a more useful error message rather than the currently used Assert.fail().
Attachments
Issue Links
- links to