Skip to content

server: TestTelemetrySQLStatsIndependence uses test reg server#66428

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
dhartunian:use-test-reg-server-for-sql-stats-independence-test
Jun 14, 2021
Merged

server: TestTelemetrySQLStatsIndependence uses test reg server#66428
craig[bot] merged 1 commit intocockroachdb:masterfrom
dhartunian:use-test-reg-server-for-sql-stats-independence-test

Conversation

@dhartunian
Copy link
Copy Markdown
Collaborator

Previously, this test hit the real registration server which caused
goroutine leaks when the reg server was unavailable.

The test now creates a test reg server to handle the stats calls.
The test is no longer skipped.

Resolves #63851

Release note: None

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@dhartunian dhartunian requested review from a team and knz June 14, 2021 15:15
@dhartunian dhartunian force-pushed the use-test-reg-server-for-sql-stats-independence-test branch from fbf00de to 81d8cc2 Compare June 14, 2021 15:19
Copy link
Copy Markdown
Collaborator

@nkodali nkodali left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @knz)

Previously, this test hit the real registration server which caused
goroutine leaks when the reg server was unavailable.

The test now creates a test reg server to handle the stats calls.
The test is no longer skipped.

Resolves cockroachdb#63851

Release note: None
@dhartunian dhartunian force-pushed the use-test-reg-server-for-sql-stats-independence-test branch from 81d8cc2 to 871b8e5 Compare June 14, 2021 16:38
@dhartunian
Copy link
Copy Markdown
Collaborator Author

bors r=knz,nkodali

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jun 14, 2021

Build succeeded:

@craig craig bot merged commit 9c583b9 into cockroachdb:master Jun 14, 2021
@dhartunian dhartunian deleted the use-test-reg-server-for-sql-stats-independence-test branch November 14, 2022 16:38
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.

server: TestTelemetrySQLStatsIndependence failed

4 participants