-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 11.4
-
Component/s: Runtime
-
Epic Link:
-
Team:AT
-
Sprint:nxAT 11.x.31
-
Story Points:1
Unit test RuntimeInitializationConfigTest.testLoadConfig randomly fails on:
java.lang.AssertionError: expected:<15> but was:<16> at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:633) at org.nuxeo.runtime.RuntimeInitializationConfigTest.testLoadConfig(RuntimeInitializationConfigTest.java:67) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
This is linked to the fact that extra error "Runtime test configure error" is picked up, it actually comes from a system property set via test RuntimeInitializationPreprocessorTest and that is not cleaned up properly.
Seen on https://jenkins.platform.dev.nuxeo.com/job/nuxeo/job/nuxeo/view/change-requests/job/PR-4541/1/ and https://jenkins.platform.dev.nuxeo.com/job/nuxeo/job/nuxeo/view/change-requests/job/PR-4539/3/ and https://jenkins.platform.dev.nuxeo.com/job/nuxeo/job/nuxeo/view/change-requests/job/PR-4539/4/
- Is referenced in