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

Backport of Speed up test by registering services concurrently into release/1.15.x #16510

Conversation

hc-github-team-consul-core
Copy link
Contributor

Backport

This PR is auto-generated from #16509 to be assessed for backporting due to the inclusion of the label backport/1.15.

The below text is copied from the body of the original PR.


Description

TestDNS_TCP_and_UDP_Truncate is our longest running test averaging over 3m of runtime.
The biggest bottleneck when profiling was the registration of 5000-10000 services at the start which is meant to cause DNS responses to be truncated.

The catalog registration is able to be run concurrently, reducing the runtime by magnitudes (3m10s -> 7s on my machine)

PR Checklist

  • updated test coverage
  • external facing docs updated
  • not a security concern

Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/kisunji/speed-up-dns-test/greatly-subtle-terrapin branch from 3fc960e to afdf093 Compare March 2, 2023 19:37
Copy link

Choose a reason for hiding this comment

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

Auto approved Consul Bot automated PR

@hc-github-team-consul-core hc-github-team-consul-core merged commit c3fb165 into release/1.15.x Mar 2, 2023
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/kisunji/speed-up-dns-test/greatly-subtle-terrapin branch March 2, 2023 21:17
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