mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 18:02:01 +00:00
tests: Include the Windows node name in the exception
There are a few tests that fail because the hostnames apparently do not match. Logging the name would help finding the problem.
This commit is contained in:
parent
b81a2a7373
commit
8d98e53b78
@ -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 ($NODE_NAME_TEST) does not equal COMPUTERNAME ($env:COMPUTERNAME)"
|
||||
}
|
||||
Write-Output "SUCCESS"`
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user