Merge pull request #109822 from claudiubelu/windows-node-name

tests: Include the Windows node name in the exception
This commit is contained in:
Kubernetes Prow Robot
2022-05-10 14:33:25 -07:00
committed by GitHub

View File

@@ -65,7 +65,7 @@ const (
throw "Contents of /etc/secret/foo.txt are not as expected"
}
if ($env:NODE_NAME_TEST -ne $env:COMPUTERNAME) {
throw "NODE_NAME_TEST env var does not equal COMPUTERNAME"
throw "NODE_NAME_TEST env var ($env:NODE_NAME_TEST) does not equal COMPUTERNAME ($env:COMPUTERNAME)"
}
Write-Output "SUCCESS"`
)