Skip to content

Remove DNS lookups of the local hostname in tests#18059

Merged
akoeplinger merged 1 commit intomono:masterfrom
akoeplinger:remove-hostname-lookup
Dec 5, 2019
Merged

Remove DNS lookups of the local hostname in tests#18059
akoeplinger merged 1 commit intomono:masterfrom
akoeplinger:remove-hostname-lookup

Conversation

@akoeplinger
Copy link
Member

This allows us to workaround issues we currently have in the macOS bot network where DNS lookup of the hostname fails. We instead bind to 127.0.0.1.

All changes are in test code except for Mono.Messaging.RabbitMQ which used the local IP to generate a transaction ID. This doesn't seem necessary so replaced it with a GUID.

This allows us to workaround issues we currently have in the macOS bot network where DNS lookup of the hostname fails.
Copy link
Contributor

@CoffeeFlux CoffeeFlux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@CoffeeFlux
Copy link
Contributor

@monojenkins build failed

@akoeplinger akoeplinger merged commit 269d509 into mono:master Dec 5, 2019
@akoeplinger akoeplinger deleted the remove-hostname-lookup branch December 5, 2019 17:08
akoeplinger added a commit that referenced this pull request Dec 5, 2019
This allows us to workaround issues we currently have in the macOS bot network where DNS lookup of the hostname fails.

(cherry picked from commit 269d509)
akoeplinger added a commit that referenced this pull request Dec 5, 2019
This allows us to workaround issues we currently have in the macOS bot network where DNS lookup of the hostname fails.

(cherry picked from commit 269d509)
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.

3 participants