This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Description
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
=== 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
- run
./build/validate.sh script
Context
# cat /etc/hostname
host01.mydomain.com
# cat /proc/sys/kernel/hostname
host01.mydomain.com