Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance development testing efficiency #403

Open
Okabe-Rintarou-0 opened this issue May 31, 2024 · 1 comment
Open

Enhance development testing efficiency #403

Okabe-Rintarou-0 opened this issue May 31, 2024 · 1 comment

Comments

@Okabe-Rintarou-0
Copy link
Member

Okabe-Rintarou-0 commented May 31, 2024

What would you like to be added:
Enhance development testing efficiency.
Why is this needed:

At present, I am doing tests by the following steps:

  1. make docker to build kmesh docker image
  2. dispatch the newly-built docker image to each worker node in kind cluster using kind load docker-image image_name --name cluster_name
  3. kubectl edit ds kmesh -n kmesh-system to edit the image and trigger daemonset restart
  4. enter the daemonset's corresponding pod and do some testings.

Are these steps correct? Or can we optimize(automate) the testing process?

My environment:
OS: ubuntu 20.04
K8s Cluster: running on kind

@hzxuzhonghu
Copy link
Member

If you want to test some golang implement, you could add some unite tests. For bpf prog, currently this is the only way i think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants