JenkinsPipelineUnit
JenkinsPipelineUnit copied to clipboard
[BaseRegressionTest] Remove memory address for objects
Using the regression feature you need to remove the memory address for objects so the saved callstack files match.
Right now I'm using this workaround, is there any built-in feature?
// Workaround: remove memory address for objects
helper.callStack = helper.callStack.stream()
.map { "$it".replaceAll(/@[a-z0-9]{7,8}/, '') }
.collect(Collectors.toList())
hi, @jgsogo I don't use "regression" feature, so i'm not sure how to help, however your workaround looks good to me. If you would like to submit a PR I'll be glad to merge it in.