dcapwell commented on code in PR #262:
URL: https://github.com/apache/cassandra-accord/pull/262#discussion_r2611522097
##########
accord-core/src/test/java/accord/utils/Property.java:
##########
@@ -213,10 +218,11 @@ private static String propertyError(Common<?> input,
Throwable cause, Object...
return sb.toString();
}
- private static String statefulPropertyError(StatefulBuilder input,
Throwable cause, Object state, List<String> history)
+ private static String statefulPropertyError(StatefulBuilder input,
Throwable cause, Object state, int failingStep, List<String> history)
{
StringBuilder sb = propertyErrorCommon(input, cause);
sb.append("Steps: ").append(input.steps).append('\n');
+ sb.append("Failing Step: ").append(failingStep).append('\n');
Review Comment:
helpful for larger histories; you can just call the process method with the
right debug step and run the test to that point
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]