-
Bug
-
Resolution: Done
-
Major
-
3.2.0.Final
-
None
-
False
-
-
False
-
-
Most of test modules in 3.2 branch fails to build due to mockito error in EventDispatcherTest. It fails with
[ERROR] Errors: [ERROR] EventDispatcherTest ? UnnecessaryStubbing Unnecessary stubbings detected in test class: EventDispatcherTest Clean & maintainable test code requires zero unnecessary code. Following stubbings are unnecessary (click to navigate to relevant line of code): 1. -> at io.debezium.pipeline.EventDispatcherTest.dispatchEventWithoutExtendedHeaders(EventDispatcherTest.java:181) 2. -> at io.debezium.pipeline.EventDispatcherTest.dispatchEventWithExtendedHeaders(EventDispatcherTest.java:147) Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
In main it's passing probably for different mockito version, but the unnecessary stubbing is there as well.