New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ISPN-10148 - Improve reported testName #6865
Conversation
@danberindei ready for review |
@diegolovison What's the problem you're trying to solve here? |
@galderz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, left a comment pending...
if (parameter instanceof Path) { | ||
parameters[i] = ((Path) parameter).getFileName().toString(); | ||
} else if (parameter.getClass().getSimpleName().contains("$$Lambda$")) { | ||
parameters[i] = "$$Lambda$"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this going to make all the lambda parameters look identical in the report (assuming we don't ignore them later)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@danberindei waiting for your feedback https://github.com/infinispan/infinispan/pull/6950/files
This is a generic way to fix the following problems:
https://issues.jboss.org/browse/ISPN-10148