kmesh-net / kmesh

High Performance ServiceMesh Data Plane Based on Programmable Kernel
https://kmesh.net
Apache License 2.0
459 stars 69 forks source link

Add restart test #799

Open hzxuzhonghu opened 2 months ago

hzxuzhonghu commented 2 months ago

What would you like to be added:

Currently restart is an alpha feature, and we have met many issues like bpf map elements duplicate and bpf prog duplicated.

So I would suggest we add some tests to cover this.

In ut test, we can check no same named prog and map duplicated. cc @lec-bit

In e2e test, we can also check that after kmesh restart. cc @YaoZengzeng

hzxuzhonghu commented 2 months ago

FYI added bpfmap elemenets test here https://github.com/kmesh-net/kmesh/pull/783/commits/50b4405e7e65223e4de93a5eb1172eb683f3ff8d#diff-00cb5f256b2d787cebd16a54b78b2b92a92c1b51f59283463f1cf737de1d2838

YaoZengzeng commented 2 months ago

/assign