Improve unit test coverage
hzxuzhonghu opened this issue · comments
What would you like to be added:
Currently there are no unit tests, we should add test coverage for each module. Basically i suggest doing this per package.
Eveyone can take part of this, and can list your interested package below
some critical components that should be tested including:
- cache under pkg/cache/v2
- cni plugin under pkg/cni
- ads client under pkg/controller
- wds client under pkg/controller_workload
- Ebpf map and ebpf redirect @nlgwcy to confirm if this is able to be tested