Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reliance on DNS resolution of *.localhost in tbot tests #43400

Merged

Conversation

strideynet
Copy link
Contributor

I had boldly assumed that the convention/standards that stated that any subdomain of localhost would resolve to 127.00.1 would be abided by - unfortunately it looks like this isn't the case on our self-hosted runners which run the nightly flake tests. This should resolve the failing nightly flakes for tbot.

Copy link
Contributor

@marcoandredinis marcoandredinis left a comment

Choose a reason for hiding this comment

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

I think we could create a custom resolver and pass it around, but that's probably too much effort at this point.

lib/tbot/tbot_test.go Show resolved Hide resolved
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from timothyb89 June 24, 2024 10:24
@strideynet strideynet added this pull request to the merge queue Jun 24, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 24, 2024
@strideynet strideynet added this pull request to the merge queue Jun 24, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 24, 2024
@strideynet strideynet added this pull request to the merge queue Jun 24, 2024
Merged via the queue into master with commit e89434a Jun 24, 2024
37 checks passed
@strideynet strideynet deleted the strideynet/fix-tbot-reliance-on-dns-resolution-in-tests branch June 24, 2024 16:19
@public-teleport-github-review-bot

@strideynet See the table below for backport results.

Branch Result
branch/v15 Create PR
branch/v16 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants