[
https://issues.apache.org/jira/browse/ARTEMIS-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17392279#comment-17392279
]
ASF subversion and git services commented on ARTEMIS-3409:
----------------------------------------------------------
Commit 6b8fdcb07922efab1ee2cc5e8a4fd02cdc6c6b97 in activemq-artemis's branch
refs/heads/main from Robbie Gemmell
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=6b8fdcb ]
ARTEMIS-3409: skip tests if preconditions cant be satisfied
> DNSSwitchTest skips on Java 8 but fails on Java 11+ if preconditions not
> satisfied
> ----------------------------------------------------------------------------------
>
> Key: ARTEMIS-3409
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3409
> Project: ActiveMQ Artemis
> Issue Type: Test
> Components: Tests
> Affects Versions: 2.17.0
> Reporter: Robbie Gemmell
> Assignee: Robbie Gemmell
> Priority: Major
> Fix For: 2.18.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The DNSSwitchTest smoke test does slightly different things to operate on
> Java 8 and Java 11+, and as a result makes different precondition checks for
> the two cases. These can behave quite differently, such that when it cant run
> on Java 8 it typically skips, but when it cant run on Java 11 it typically
> outright fails.
> It should be consistent and skip when any preconditions for running cant be
> satisfied.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)