[
https://issues.apache.org/jira/browse/ARTEMIS-4391?focusedWorklogId=876589&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-876589
]
ASF GitHub Bot logged work on ARTEMIS-4391:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 16/Aug/23 15:30
Start Date: 16/Aug/23 15:30
Worklog Time Spent: 10m
Work Description: amarkevich commented on PR #4580:
URL:
https://github.com/apache/activemq-artemis/pull/4580#issuecomment-1680831703
> [Test and Examples / Test / 0 /
org.apache.activemq.artemis.tests.integration.paging.MaxMessagesPagingTest.testFailMaxMessage](https://main-jenkins-csb-amq-broker.apps.ocp-c1.prod.psi.redhat.com/job/activemq-artemis/job/activemq-artemis-pipeline/2929/testReport/junit/org.apache.activemq.artemis.tests.integration.paging/MaxMessagesPagingTest/Test_and_Examples___Test___0___testFailMaxMessage/)
> [Test and Examples / Test / 0 /
org.apache.activemq.artemis.tests.integration.paging.MaxMessagesPagingTest.testFailMaxMessageGlobal](https://main-jenkins-csb-amq-broker.apps.ocp-c1.prod.psi.redhat.com/job/activemq-artemis/job/activemq-artemis-pipeline/2929/testReport/junit/org.apache.activemq.artemis.tests.integration.paging/MaxMessagesPagingTest/Test_and_Examples___Test___0___testFailMaxMessageGlobal/)
fixed.
Unfortunately cluster tests failed on Windows:
```
[main] 17:25:52,538 ERROR [org.apache.activemq.artemis.core.server]
AMQ224000: Failure in initialisation
java.nio.file.InvalidPathException: Illegal char <:> at index 82:
.\target\tmp\PluggableQuorumReplicaTimeoutTest\junit9115091703126222514\manager\ML:2f9f6bba-3c49-11ee-b2ca-60a5e2c84ef7
at
sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182) ~[?:?]
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
~[?:?]
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
~[?:?]
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:92) ~[?:?]
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
~[?:?]
at java.io.File.toPath(File.java:2329) ~[?:?]
at
org.apache.activemq.artemis.quorum.file.FileDistributedLock.<init>(FileDistributedLock.java:42)
~[artemis-quorum-ri-2.31.0-SNAPSHOT.jar:2.31.0-SNAPSHOT]
at
org.apache.activemq.artemis.quorum.file.FileBasedPrimitiveManager.getDistributedLock(FileBasedPrimitiveManager.java:123)
~[artemis-quorum-ri-2.31.0-SNAPSHOT.jar:2.31.0-SNAPSHOT]
at
org.apache.activemq.artemis.quorum.file.FileBasedPrimitiveManager.getMutableLong(FileBasedPrimitiveManager.java:134)
~[artemis-quorum-ri-2.31.0-SNAPSHOT.jar:2.31.0-SNAPSHOT]
```
Issue Time Tracking
-------------------
Worklog Id: (was: 876589)
Time Spent: 50m (was: 40m)
> tests: rework AssertionLoggerHandler
> ------------------------------------
>
> Key: ARTEMIS-4391
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4391
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: Tests
> Affects Versions: 2.30.0
> Reporter: Alexey Markevich
> Priority: Major
> Time Spent: 50m
> Remaining Estimate: 0h
>
> AssertionLoggerHandler modified to be easy to use:
> * no custom logger configuration required;
> * implements Closeable to be poosible to use in try-with-resources statement
> * split regular text check and stacktraces
--
This message was sent by Atlassian Jira
(v8.20.10#820010)