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
commit 517dd4ccfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"`
)