ppkarwasz commented on code in PR #4466: URL: https://github.com/apache/logging-log4j2/pull/4466#discussion_r4660115697
########## log4j-core-test/pom.xml: ########## @@ -444,6 +456,40 @@ <profiles> + <!-- Extends the `java8-tests` profile in `log4j-parent`, which only modifies the `default-test` run: + the `jdk.serialFilter` of the `test-serial-filter` run must work on all supported JDKs, including Java 8. --> + <profile> + + <id>java8-tests</id> + + <activation> + <property> + <name>env.CI</name> + <value>true</value> + </property> + </activation> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <executions> + <execution> + <id>test-serial-filter</id> + <configuration> Review Comment: This is intentional: all tests run on JDK 8 in the CI, all tests run on JDK 17 by default on your local machine. At some point we should run both kinds of tests on the CI, but that requires some changes to our workflows. -- 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]
