[ 
https://issues.apache.org/jira/browse/ARTEMIS-4328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17737100#comment-17737100
 ] 

ASF subversion and git services commented on ARTEMIS-4328:
----------------------------------------------------------

Commit b82419634ab5bcd9069d5bce09e554ca4a82b4b8 in activemq-artemis's branch 
refs/heads/main from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=b82419634a ]

ARTEMIS-4328 add timeout to test which can hang

`org.apache.activemq.artemis.core.server.embedded.MainTest` expects the
broker to throw a `java.io.IOException` when it is started due to its
inability to find the file app/data/server.lock. However, if that files
just happens to exist then the test will simply hang indefinitely. This
commit adds a timeout to avoid hanging.


> Test can hang indefinitely
> --------------------------
>
>                 Key: ARTEMIS-4328
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4328
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {{org.apache.activemq.artemis.core.server.embedded.MainTest}} expects the 
> broker to throw a {{java.io.IOException}} when it is started due to its 
> inability to find the file {{app/data/server.lock}}. However, if that files 
> just happens to exist then the test will simply hang indefinitely. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to