From 6adb752638f40a269a2bf0fe571c732e902c4f13 Mon Sep 17 00:00:00 2001 From: Vasilii Polikarpov <126792224+vpolikarpov-akvelon@users.noreply.github.com> Date: Fri, 18 Aug 2023 12:44:06 +0200 Subject: [PATCH] [Ubuntu] Make k8s tools tests consistent across OS (#8112) --- images/linux/scripts/tests/Tools.Tests.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/images/linux/scripts/tests/Tools.Tests.ps1 b/images/linux/scripts/tests/Tools.Tests.ps1 index 4fbf015a..22f677da 100644 --- a/images/linux/scripts/tests/Tools.Tests.ps1 +++ b/images/linux/scripts/tests/Tools.Tests.ps1 @@ -280,19 +280,19 @@ Describe "Julia" { Describe "Kubernetes tools" { It "kind" { - "kind --version" | Should -ReturnZeroExitCode + "kind version" | Should -ReturnZeroExitCode } It "kubectl" { - "kubectl version" | Should -MatchCommandOutput "Client Version: v" + "kubectl version --client=true" | Should -MatchCommandOutput "Client Version: v" } It "helm" { - "helm version" | Should -ReturnZeroExitCode + "helm version --short" | Should -ReturnZeroExitCode } It "minikube" { - "minikube version" | Should -ReturnZeroExitCode + "minikube version --short" | Should -ReturnZeroExitCode } It "kustomize" {