Damans227 commented on PR #12474: URL: https://github.com/apache/cloudstack/pull/12474#issuecomment-3811553994
> Packaging result [SF]: ✖️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 16586 Checked the build logs in Jenkins. The package failure is a pre-existing test issue unrelated to changed in this PR: ``` 04:48:21 [ERROR] unnecessary Mockito stubbings(org.apache.cloudstack.maintenance.ManagementServerMaintenanceManagerImplTest) Time elapsed: 0.011 s <<< ERROR! 04:48:21 org.mockito.exceptions.misusing.UnnecessaryStubbingException: 04:48:21 04:48:21 Unnecessary stubbings detected in test class: ManagementServerMaintenanceManagerImplTest 04:48:21 Clean & maintainable test code requires zero unnecessary code. 04:48:21 Following stubbings are unnecessary (click to navigate to relevant line of code): 04:48:21 1. -> at org.apache.cloudstack.maintenance.ManagementServerMaintenanceManagerImplTest.prepareForMaintenanceAndCancelFromMaintenanceState(ManagementServerMaintenanceManagerImplTest.java:324) 04:48:21 2. -> at org.apache.cloudstack.maintenance.ManagementServerMaintenanceManagerImplTest.prepareForMaintenanceAndCancelFromPreparingForMaintenanceState(ManagementServerMaintenanceManagerImplTest.java:342) 04:48:21 Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class. 04:48:21 04:48:21 [INFO] 04:48:21 [INFO] Results: 04:48:21 [INFO] 04:48:21 [ERROR] Errors: 04:48:21 [ERROR] ManagementServerMaintenanceManagerImplTest.unnecessary Mockito stubbings ? UnnecessaryStubbing 04:48:21 [INFO] 04:48:21 [ERROR] Tests run: 34, Failures: 0, Errors: 1, Skipped: 0 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
