From 8d98e53b784824060e7753b11a3c52497fb61203 Mon Sep 17 00:00:00 2001 From: Claudiu Belu Date: Wed, 4 May 2022 12:50:57 -0700 Subject: [PATCH] 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. --- test/e2e/windows/host_process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/windows/host_process.go b/test/e2e/windows/host_process.go index 44fb4a2bd49..e97f439ab42 100644 --- a/test/e2e/windows/host_process.go +++ b/test/e2e/windows/host_process.go @@ -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"` )