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

How to generate snapshot tests for build/config/plain.sh? #3632

Open
cafkafk opened this issue Dec 6, 2024 · 0 comments
Open

How to generate snapshot tests for build/config/plain.sh? #3632

cafkafk opened this issue Dec 6, 2024 · 0 comments

Comments

@cafkafk
Copy link

cafkafk commented Dec 6, 2024

I'm working on a PR adding more of the cgroup metrics to cadvisor (since k8s may e.g. OOM from kernel memory exhaustion without ever reaching memlimits, this is super useful in large production environments).

However, I'm stuck trying to regenerate the snapshot tests that seem to be run through build/config/plain.sh.

It is possible that I'm missing something obvious, but I haven't had any luck so far finding any place describing how to do this.

If someone explains it, I can probably add documentation to docs/development/ in a PR.

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

No branches or pull requests

1 participant