[
https://issues.apache.org/jira/browse/ARTEMIS-3576?focusedWorklogId=688553&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-688553
]
ASF GitHub Bot logged work on ARTEMIS-3576:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 01/Dec/21 10:13
Start Date: 01/Dec/21 10:13
Worklog Time Spent: 10m
Work Description: gemmellr commented on pull request #3865:
URL: https://github.com/apache/activemq-artemis/pull/3865#issuecomment-983488987
Its nice to see the runtime has been reduced from ~30 seconds to 'only' ~5
seconds in this version of the PR. Thats still a significant chunk of time I
dont think this is worth spending on each build for this, the classes changed
should have specific tests of their behaviour taking milliseconds rather than
relying on something like this, however it is at least less egregious with the
further 25 seconds knocked off.
If we are going to have this it could at least produce the cleanest output
possible to begin with though. Currently the output is still showing
stacktraces for a couple of silly cases:
- One of the same general cases many of the changes here are for, of the
test causing an NPE on something thats reasonably expected to never to be null.
Its just that JournalFileImpl is catching the NPE and logging it in this case,
meaning it doesnt fail the test. As with the others it should just be enforced.
- Its also showing up a finalizer log for ClientSessionFactoryImpl...which
feels pointless given it doesnt actually seem to have a toString() method impl
at all. Given it takes lots of constructor args, I'd guess one of them can be
enforced on to shut it up.
--
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 688553)
Time Spent: 1h 50m (was: 1h 40m)
> Fix toString methods throwing exceptions
> ----------------------------------------
>
> Key: ARTEMIS-3576
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3576
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Domenico Francesco Bruscino
> Assignee: Domenico Francesco Bruscino
> Priority: Minor
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> A toString method should never throw any exceptions.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)