From 33b7eba091ec71cf72dcde6802cf7a80a2155a7d Mon Sep 17 00:00:00 2001 From: obaida7 Date: Fri, 6 Mar 2026 15:47:09 -0600 Subject: [PATCH] test: allow 1 CPU with --no-kubernetes flag in integration tests --- test/integration/no_kubernetes_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/integration/no_kubernetes_test.go b/test/integration/no_kubernetes_test.go index 096879cd5a..da32d4df2d 100644 --- a/test/integration/no_kubernetes_test.go +++ b/test/integration/no_kubernetes_test.go @@ -157,7 +157,8 @@ func validateStartNoK8S(ctx context.Context, t *testing.T, profile string) { defer PostMortemLogs(t, profile) // docs: start minikube with no Kubernetes. - args := append([]string{"start", "-p", profile, "--no-kubernetes", "--memory=3072", "--alsologtostderr", "-v=5"}, StartArgs()...) + // added --cpus=1 to verify fix for #22152 + args := append([]string{"start", "-p", profile, "--no-kubernetes", "--cpus=1", "--memory=3072", "--alsologtostderr", "-v=5"}, StartArgs()...) rr, err := Run(t, exec.CommandContext(ctx, Target(), args...)) if err != nil { t.Fatalf("failed to start minikube with args: %q : %v", rr.Command(), err)