Commit graph

16 commits

Author SHA1 Message Date
KhushAhuja
efddaf6561 test/e2e: deflake pod resize cgroup value verification
Replace the manual 3-retry loop (with no delay) in VerifyCgroupValue
with framework.Gomega().Eventually() + HandleRetry, matching the
pattern used for oom_score_adj deflake in #137329. This gives proper
polling with backoff when exec fails during container restarts.
2026-03-13 21:10:37 +05:30
Natasha Sarkar
8504c0d4e3 deflake pod resize oom_score_adj check 2026-03-05 18:36:03 +00:00
Patrick Ohly
ad79e479c2 build: remove deprecated '// +build' tag
This has been replaced by `//build:...` for a long time now.

Removal of the old build tag was automated with:

    for i in $(git grep -l '^// +build' | grep -v -e '^vendor/'); do if ! grep -q '^// Code generated' "$i"; then sed -i -e '/^\/\/ +build/d' "$i"; fi; done
2025-12-18 12:16:21 +01:00
ndixita
10b73f8ef9
Test fixes
Signed-off-by: ndixita <ndixita@google.com>
2025-11-12 06:21:06 +00:00
ndixita
21920bb37e
Test fixes
Signed-off-by: ndixita <ndixita@google.com>
2025-11-12 01:18:53 +00:00
ndixita
1733d8fc8c
e2e tests
Signed-off-by: ndixita <ndixita@google.com>
2025-11-11 18:19:09 +00:00
Natasha Sarkar
748510b8ee refactor and increase coverage for pod resize tests 2025-10-02 20:47:40 +00:00
Ayato Tokubi
799312a402 Update pod resize test to accept new cpu.weight conversion.
Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
2025-08-29 16:39:18 +00:00
Natasha Sarkar
465f728141 use gomega.BeComparableTo instead of Equal for resource quantity check in resize test 2025-07-17 20:09:05 +00:00
Tim Allclair
ae7d637b89 Delete unused ResizeContainerPatch function 2025-07-07 13:59:32 -07:00
Tim Allclair
00c1c1a58e Generate an E2E resize patch from original & desired ResizableContainerInfo 2025-07-07 13:57:48 -07:00
Natasha Sarkar
22fa3c747b add retries to exec command in cgroup verification 2025-05-06 18:33:25 +00:00
Hironori Shiina
43ce37ed48 Address feedback 2025-05-01 14:56:28 +02:00
Hironori Shiina
7e1cec680e e2e: Deduplicate cgroup verification
This fix deduplicates cgroup verification in tests for
InPlacePodVerticalScaling and PodLevelResources.
2025-05-01 14:53:26 +02:00
Sotiris Salloumis
d6b45bc98d [FG:InPlacePodVerticalScaling] clean code resize test
- Improve information when VerifyPodContainersCgroupValues fails
- Use common way to append errors
2025-04-28 18:43:12 +02:00
Tim Allclair
947a9f26fa Move pod resize e2e utilities out of e2e/framework 2025-04-23 14:02:36 -07:00