[
https://issues.apache.org/jira/browse/ARTEMIS-4360?focusedWorklogId=870603&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-870603
]
ASF GitHub Bot logged work on ARTEMIS-4360:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 12/Jul/23 13:45
Start Date: 12/Jul/23 13:45
Worklog Time Spent: 10m
Work Description: clebertsuconic commented on code in PR #4551:
URL: https://github.com/apache/activemq-artemis/pull/4551#discussion_r1261204904
##########
tests/compatibility-tests/src/test/java/org/apache/activemq/artemis/tests/compatibility/base/ClasspathBase.java:
##########
@@ -181,7 +179,15 @@ protected ClassLoader getClasspath(String name, boolean
forceNew) throws Excepti
classPathValue = buffer.toString();
}
- Assert.assertTrue("Cannot run compatibility tests, no classpath found on
./target/" + name + ".cp", classPathValue != null &&
!classPathValue.trim().equals(""));
+ boolean foundClassPath = classPathValue != null &&
!classPathValue.trim().equals("");
+
+ if (!foundClassPath) {
+ logger.info("Rebuild project with -Pcompatibility-tests. Cannot find
classpath definition for {}", name);
+ }
+
+ Assume.assumeTrue("Rebuild project with -Pcompatibility-tests.",
foundClassPath);
+
+ Assume.assumeTrue("Rebuild project with -Pcompatibility-tests to be able
to run this test. No classpath found on ./target/" + name + ".cp",
foundClassPath);
Review Comment:
please @clebertsuconic remove this line!
Issue Time Tracking
-------------------
Worklog Id: (was: 870603)
Time Spent: 1h (was: 50m)
> Make compatibility-tests opt in with -Pcompatibility-tests
> ----------------------------------------------------------
>
> Key: ARTEMIS-4360
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4360
> Project: ActiveMQ Artemis
> Issue Type: Task
> Reporter: Clebert Suconic
> Priority: Major
> Fix For: 2.30.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> we should make compatibility-tests opt-in. from now on you have to use
> -Pcompatibility-tests to run them.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)