1
0

LOGGING-185: Fix failing tests (#180)

* Fix names of deployed artifacts

We remove the obsolete `finalName` property and fix the Maven Failsafe
executions.

* Fix failing tests

* Reenable integration tests

* Disable SecurityManager tests on Java 21

* Simplify build workflow

* Set `fail-fast` to false

* Fix NPEs caused by `String.trim()`

* Span a different JVM per test case
This commit is contained in:
Piotr P. Karwasz
2023-11-19 01:36:11 +01:00
committed by GitHub
parent 6edbb07301
commit 6ad06e9074
10 changed files with 116 additions and 82 deletions

View File

@@ -434,7 +434,7 @@ public class LogFactoryImpl extends LogFactory {
final String msg = e.getMessage();
logDiagnostic("The log adapter '" + logAdapterClassName +
"' is missing dependencies when loaded via classloader " + objectId(currentCL) +
": " + msg.trim());
": " + trim(msg));
break;
} catch (final ExceptionInInitializerError e) {
// A static initializer block or the initializer code associated
@@ -446,7 +446,7 @@ public class LogFactoryImpl extends LogFactory {
final String msg = e.getMessage();
logDiagnostic("The log adapter '" + logAdapterClassName +
"' is unable to initialize itself when loaded via classloader " + objectId(currentCL) +
": " + msg.trim());
": " + trim(msg));
break;
} catch (final LogConfigurationException e) {
// call to handleFlawedHierarchy above must have thrown