From 4b17f546fb4b70fcfd8612dd05865bbb3cd9875c Mon Sep 17 00:00:00 2001 From: Medya Gh Date: Thu, 1 Jul 2021 15:19:24 -0400 Subject: [PATCH] check all components --- test/integration/functional_test.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/integration/functional_test.go b/test/integration/functional_test.go index b60e91617b..4509ccee97 100644 --- a/test/integration/functional_test.go +++ b/test/integration/functional_test.go @@ -1908,8 +1908,11 @@ func validateVersionCmd(ctx context.Context, t *testing.T, profile string) { t.Errorf("error version: %v", err) } got := rr.Stdout.String() - if !strings.Contains(got, "containerd") { - t.Error("expected to see containerd in the minikube version --packages") + for _, c := range []string{"buildctl", "commit", "containerd", "crictl", "crio", "ctr", "docker", "minikubeVersion", "podman", "run"} { + if !strings.Contains(got, c) { + t.Errorf("expected to see %q in the minikube version --components but got:\n%s", c, got) + } + } })