Skip to content

Commit 4b17f54

Browse files
committed
check all components
1 parent f51a5c1 commit 4b17f54

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/integration/functional_test.go

+5-2
Original file line numberDiff line numberDiff line change
@@ -1908,8 +1908,11 @@ func validateVersionCmd(ctx context.Context, t *testing.T, profile string) {
19081908
t.Errorf("error version: %v", err)
19091909
}
19101910
got := rr.Stdout.String()
1911-
if !strings.Contains(got, "containerd") {
1912-
t.Error("expected to see containerd in the minikube version --packages")
1911+
for _, c := range []string{"buildctl", "commit", "containerd", "crictl", "crio", "ctr", "docker", "minikubeVersion", "podman", "run"} {
1912+
if !strings.Contains(got, c) {
1913+
t.Errorf("expected to see %q in the minikube version --components but got:\n%s", c, got)
1914+
}
1915+
19131916
}
19141917
})
19151918

0 commit comments

Comments
 (0)