Skip to content

sql: fix TestTelemetryLogging test#87028

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
THardy98:fix_test_telemetry_logging
Aug 29, 2022
Merged

sql: fix TestTelemetryLogging test#87028
craig[bot] merged 1 commit intocockroachdb:masterfrom
THardy98:fix_test_telemetry_logging

Conversation

@THardy98
Copy link
Copy Markdown

Resolves: #86118

Previously, the TestTelemetryLogging test was failing due to a change
causing traced statements to always be sampled. This in turn caused a
discrepancy with the number of skipped queries we were expecting in
tests. This change fixes this bug by stubbing the tracing status of the
test case, allowing predictable numbers of skipped queries.

Release justification: bug fixes and low-risk updates to new
functionality

Release note: None

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@THardy98 THardy98 force-pushed the fix_test_telemetry_logging branch from a074cd9 to 08f6162 Compare August 29, 2022 15:04
@THardy98 THardy98 requested review from a team and yuzefovich August 29, 2022 15:04
Resolves: cockroachdb#86118

Previously, the `TestTelemetryLogging` test was failing due to a change
causing traced statements to always be sampled. This in turn caused a
discrepancy with the number of skipped queries we were expecting in
tests. This change fixes this bug by stubbing the tracing status of the
test case, allowing predictable numbers of skipped queries.

Release justification: bug fixes and low-risk updates to new
functionality

Release note: None
@THardy98 THardy98 force-pushed the fix_test_telemetry_logging branch from 08f6162 to 45170a9 Compare August 29, 2022 15:21
@THardy98
Copy link
Copy Markdown
Author

TYFR :)

@THardy98
Copy link
Copy Markdown
Author

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Aug 29, 2022

Build succeeded:

@craig craig bot merged commit 4f0065a into cockroachdb:master Aug 29, 2022
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.

sql: TestTelemetryLogging failed

3 participants