When disabling tests with the assume* features, in functional tests, LogTestWatchman still logs the stack trace which is spurious output: this exception should be skipped for logging.
Sample stack trace:
20:42:14 2020-12-01 19:42:11,294 [main] ERROR [LogTestWatchman] Test 'org.nuxeo.functionaltests.explorer.nomode.ITExplorerAdminTest#testLivePartialRefDistribExport' failed 20:42:14 org.junit.AssumptionViolatedException: got: <false>, expected: is <true> 20:42:14 at org.junit.Assume.assumeThat(Assume.java:106) ~[junit-4.13.jar:4.13] 20:42:14 at org.junit.Assume.assumeTrue(Assume.java:50) ~[junit-4.13.jar:4.13] 20:42:14 at org.nuxeo.functionaltests.explorer.nomode.ITExplorerAdminTest.testLivePartialRefDistribExport(ITExplorerAdminTest.java:192) ~[test-classes/:?] 20:42:14 at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] 20:42:14 at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] 20:42:14 at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] 20:42:14 at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] 20:42:14 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) ~[junit-4.13.jar:4.13] 20:42:14 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) ~[junit-4.13.jar:4.13] 20:42:14 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) ~[junit-4.13.jar:4.13] 20:42:14 at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) ~[junit-4.13.jar:4.13] 20:42:14 at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) ~[junit-4.13.jar:4.13] 20:42:14 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) ~[junit-4.13.jar:4.13] 20:42:14 at org.nuxeo.functionaltests.LogTestWatchman$1.evaluate(LogTestWatchman.java:110) [nuxeo-functional-tests-11.3.56.jar:?] 20:42:14 at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) [junit-4.13.jar:4.13] 20:42:14 at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) [junit-4.13.jar:4.13] 20:42:14 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) [junit-4.13.jar:4.13] 20:42:14 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) [junit-4.13.jar:4.13] 20:42:14 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) [junit-4.13.jar:4.13]
- is related to
-
NXP-29813 Align Explorer on 11.5.x
- Resolved
- Is referenced in