Skip to content

Do not depend on DNS in the physical machines migration test - #188

Closed
janpenitent wants to merge 1 commit into
v4.0from
chore/v4.0-migration-test-without-dns
Closed

Do not depend on DNS in the physical machines migration test#188
janpenitent wants to merge 1 commit into
v4.0from
chore/v4.0-migration-test-without-dns

Conversation

@janpenitent

Copy link
Copy Markdown
Contributor

The test assumed localhost would not resolve, but systemd-resolved synthesises it, so four servers came out where three were expected; it also asserted a non-empty hostname, which only holds where the internal reverse zone is reachable. Removes localhost from the fixture and comments out the hostname assertion, the same as already done in master.

The multiple IPs fixture included a 'localhost' entry that the test expected to be dropped because it does not resolve, and asserted a hostname obtained from a reverse lookup of 172.27.1.25-27. Both hold only on a machine whose resolver behaves like ours, so the test failed elsewhere. Same fix already applied on master.
@janpenitent

Copy link
Copy Markdown
Contributor Author

4.0 is sealed after release: no unreported change goes in. Kept on the fixes/v4.0-* branch in case someone needs it, not for a release.

@janpenitent
janpenitent deleted the chore/v4.0-migration-test-without-dns branch August 20, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants