Skip to content

Commit 325e233

Browse files
authored
Merge branch 'apache:2.x' into 2.x
2 parents 8147512 + 4a88c53 commit 325e233

32 files changed

+276
-220
lines changed

.mvn/develocity.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
</obfuscation>
1111
<publishing>
1212
<onlyIf>
13-
<![CDATA[authenticated]]>
13+
<![CDATA[env['CI'] != null]]>
1414
</onlyIf>
1515
</publishing>
16-
<backgroundBuildScanUpload>#{isFalse(env['GITHUB_ACTIONS'])}</backgroundBuildScanUpload>
16+
<backgroundBuildScanUpload>false</backgroundBuildScanUpload>
1717
</buildScan>
1818
<buildCache>
1919
<local>
20-
<enabled>#{isFalse(env['GITHUB_ACTIONS'])}</enabled>
20+
<enabled>false</enabled>
2121
</local>
2222
<remote>
2323
<enabled>false</enabled>

log4j-core-test/src/test/java/org/apache/logging/log4j/core/async/AsyncThreadContextCopyOnWriteTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727
// ThreadContext initialization will result in static final fields being set in various components.
2828
// To use a different ThreadContextMap, the test needs to be run in a new JVM.
2929
@Tag(Tags.ASYNC_LOGGERS)
30-
public class AsyncThreadContextCopyOnWriteTest extends AbstractAsyncThreadContextTestBase {
30+
class AsyncThreadContextCopyOnWriteTest extends AbstractAsyncThreadContextTestBase {
3131

3232
@TempLoggingDir
3333
private static Path loggingPath;
3434

3535
@ParameterizedTest
3636
@EnumSource
37-
public void testAsyncLogWritesToLog(Mode asyncMode) throws Exception {
37+
void testAsyncLogWritesToLog(Mode asyncMode) throws Exception {
3838
testAsyncLogWritesToLog(ContextImpl.COPY_ON_WRITE, asyncMode, loggingPath);
3939
}
4040
}

log4j-core-test/src/test/java/org/apache/logging/log4j/core/async/AsyncThreadContextDefaultTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727
// ThreadContext initialization will result in static final fields being set in various components.
2828
// To use a different ThreadContextMap, the test needs to be run in a new JVM.
2929
@Tag(Tags.ASYNC_LOGGERS)
30-
public class AsyncThreadContextDefaultTest extends AbstractAsyncThreadContextTestBase {
30+
class AsyncThreadContextDefaultTest extends AbstractAsyncThreadContextTestBase {
3131

3232
@TempLoggingDir
3333
private static Path loggingPath;
3434

3535
@ParameterizedTest
3636
@EnumSource
37-
public void testAsyncLogWritesToLog(Mode asyncMode) throws Exception {
37+
void testAsyncLogWritesToLog(Mode asyncMode) throws Exception {
3838
testAsyncLogWritesToLog(ContextImpl.WEBAPP, asyncMode, loggingPath);
3939
}
4040
}

log4j-core-test/src/test/java/org/apache/logging/log4j/core/async/AsyncThreadContextGarbageFreeTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727
// ThreadContext initialization will result in static final fields being set in various components.
2828
// To use a different ThreadContextMap, the test needs to be run in a new JVM.
2929
@Tag(Tags.ASYNC_LOGGERS)
30-
public class AsyncThreadContextGarbageFreeTest extends AbstractAsyncThreadContextTestBase {
30+
class AsyncThreadContextGarbageFreeTest extends AbstractAsyncThreadContextTestBase {
3131

3232
@TempLoggingDir
3333
private static Path loggingPath;
3434

3535
@ParameterizedTest
3636
@EnumSource
37-
public void testAsyncLogWritesToLog(Mode asyncMode) throws Exception {
37+
void testAsyncLogWritesToLog(final Mode asyncMode) throws Exception {
3838
testAsyncLogWritesToLog(ContextImpl.GARBAGE_FREE, asyncMode, loggingPath);
3939
}
4040
}

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@
320320
<project.build.outputTimestamp>2024-03-06T09:31:11Z</project.build.outputTimestamp>
321321

322322
<!-- Enables Predictive Test Selection for the project -->
323-
<predictive.test.selection.enabled>true</predictive.test.selection.enabled>
323+
<predictive.test.selection.enabled>false</predictive.test.selection.enabled>
324324

325325
<!-- ========================
326326
Site-specific properties
@@ -601,7 +601,7 @@
601601
<configuration>
602602
<forkCount>1C</forkCount>
603603
<reuseForks>false</reuseForks>
604-
<runOrder>alphabetical</runOrder>
604+
<runOrder>random</runOrder>
605605
<systemPropertyVariables>
606606
<java.awt.headless>true</java.awt.headless>
607607
</systemPropertyVariables>

0 commit comments

Comments
 (0)