eventmesh
eventmesh copied to clipboard
[Unit Test] Update Unit tests for eventmesh-runtime admin endpoints
Search before asking
- [X] I had searched in the issues and found no similar issues.
Read the unit testing guidelines
- [X] I have read.
Unit test request
As a result of the refactoring of https://github.com/apache/eventmesh/pull/4768, all of the unit test classes no longer work and need to be rewritten using Netty.
Describe the unit tests you want to do
Module name: eventmesh-runtime Located at: org.apache.eventmesh.runtime.admin.handler Task status: ×(unfinished)
Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
Hi @Pil0tXia, i want to try this as my first issue
@zzzk1 Welcome to Apache EventMesh community!
Hi, @Pil0tXia. In https://github.com/apache/eventmesh/pull/4768, there are three test cases that have been deleted, and I noticed 2 things.
eventmesh-runtime/src/test/java/org/apache/eventmesh/runtime/admin/handler/EventHandlerTest.javaare using Netty directly.- This issue requires me to use Netty to support the deletion of those three test cases.
Am I understanding correctly?
@zzzk1 You can write unit tests on a case-by-case basis without specifically using Netty only for all of them.