The unit tests should be able to finish successfully on any machines if code works correctly.
We should not expect that hostname for test Linux machine was configured with some particular rules because it can be not true:
=== RUN TestNewManager
TestNewManager: manager_test.go:13: Expected hostname to be 'host01.mydomain.com' but it was 'host01'
--- FAIL: TestNewManager (0.00s)
Steps to reproduce
set the hostname for Linux node as host01.mydomain.com
Expected behavior
The unit tests should be able to finish successfully on any machines if code works correctly. We should not expect that hostname for test Linux machine was configured with some particular rules because it can be not true:
Current behavior
Steps to reproduce
./build/validate.sh
scriptContext