Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change kubelet args passed in CLI inttest
The randomly selected kubelet arguments used in the CLI inttest lead to kubelet crash-looping on 6.x kernels (observed on 6.1 and 6.2), whereas they worked just fine on 5.15 kernels. Since GitHub updated the kernels of its Ubuntu managed GitHub action runners from 5.15 to 6.2 a few days ago, the CLI test started to fail constantly. Select some other flags that won't induce a crash-loop for the test. Also make a slight improvement to the command line assertion: Check for whole args instead of substrings, and use the right testing.T pointer to report failures on. Signed-off-by: Tom Wieczorek <[email protected]> (cherry picked from commit f22108f) (cherry picked from commit 7c349c9) (cherry picked from commit 1ce3f1a)
- Loading branch information