Skip to content
New issue

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

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

Already on GitHub? # to your account

Break up DNS tests into 3 files to help with GH UI and IDE issues. #20103

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

jmurret
Copy link
Member

@jmurret jmurret commented Jan 5, 2024

Description

The dns_test.go file is currently close to 10k lines long. This PR breaks out node lookup tests and service look up tests into separate files to help combat a few issues encountered with the large dns_test.go file:

  • GitHub IDE is unable to display a diff in this file with many changes
  • IDEs slow to halt when trying to reformat changes while editing.
  • overall it is cumbersome to navigate.

Testing & Reproduction steps

Links

PR Checklist

  • updated test coverage
  • external facing docs updated
  • appropriate backport labels added
  • not a security concern

@jmurret jmurret added pr/no-changelog PR does not need a corresponding .changelog entry pr/no-backport labels Jan 5, 2024
@jmurret jmurret requested a review from DanStough January 5, 2024 18:51
Copy link
Contributor

@DanStough DanStough left a comment

Choose a reason for hiding this comment

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

LGTM! I just kind of perused the test names to think about where they are getting moved. From that perspective, everything looked good.

@jmurret jmurret merged commit c12245b into main Jan 5, 2024
102 checks passed
@jmurret jmurret deleted the jm/dns-test-breakup branch January 5, 2024 20:37
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
pr/no-backport pr/no-changelog PR does not need a corresponding .changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants