-
Notifications
You must be signed in to change notification settings - Fork 122
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
[1145] Use the objectsToString() method to covert failure messages to… #1146
[1145] Use the objectsToString() method to covert failure messages to… #1146
Conversation
@alwin-joseph Could you take a look at this one? |
I believe this change qualifies as "ehancement" as per https://jakarta.ee/committees/specification/tckprocess/. Requests for improvement to tests MUST simply be created as issues with a label of enhancement in the specification project’s TCK issue tracker. Hopefully this can be included in the next service release as the tests are not amended here. |
I'd actually disagree and consider it a bug. Right now the failure message looks something like:
This simply converts the object array into a readable string which seems to be the original intention and was just missed. The |
if it were qualified as a bug, an exclusion would need to be created with a description of why it makes the test fail. Considering it an enhancement request, the process would be much easier, just merge the PR and have it nicely in the next release. No? |
I guess it depends on how you look at it. The failure message is really not useful at all which IMO is a bug. The test itself is not wrong, it's just the generated message is useless. I'm fine with having this fixed in 4.0, we're past 3.1 at this point for the most part :) |
If you agree we can redirect this change to master branch for 4.0 release then. |
@alwin-joseph Sure thing, I just changed the branch to release-4.0. |
32cb00d
to
c899943
Compare
… a string rather than using toString() on the object array. Signed-off-by: James R. Perkins <jperkins@redhat.com>
c899943
to
762fc55
Compare
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.
LGTM
Can this be merged or do we need some changes? The messages printed from the TCK aren't much good. You've got to debug a TCK test to see what the message is. For example: assertNotNull(holder.get(), "Message not received, reconnect was done",
cnt - 1, "times."); Prints the following without the change:
The message is fairly useless. |
Based on the previous discussion this is considered for 4.0 release. |
… a string rather than using toString() on the object array.
resolves #1145
I don't know if this is the correct branch. If not please let me know and I can migrate it elsewhere.