Skip to content

cli/interactive_tests: opt out of telemetry by default#42537

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
knz:20191118-cli-tests
Nov 18, 2019
Merged

cli/interactive_tests: opt out of telemetry by default#42537
craig[bot] merged 1 commit intocockroachdb:masterfrom
knz:20191118-cli-tests

Conversation

@knz
Copy link
Copy Markdown
Contributor

@knz knz commented Nov 18, 2019

Prior to this patch, the CLI interactive tests were running with
diagnostic reporting (including update server checks, telemetry etc)
enabled.

This was unintentional—having implemented the tests initially, I
always worked under the assumption that the acceptance test runner was
disabling telemetry upfront. I only discovered the opposite was true
recently, seeing tests fail with mysterious errors when the telemetry
server happens to be mis-behaving.

This patch fixes the situation by opting the interactive tests out of
telemetry by default. The two tests that check it (with a sensible
fallback) now opt back in explicitly.

Release note: None

Prior to this patch, the CLI interactive tests were running with
diagnostic reporting (including update server checks, telemetry etc)
enabled.

This was unintentional—having implemented the tests initially, I
always worked under the assumption that the acceptance test runner was
disabling telemetry upfront. I only discovered the opposite was true
recently, seeing tests fail with mysterious errors when the telemetry
server happens to be mis-behaving.

This patch fixes the situation by opting the interactive tests out of
telemetry by default. The two tests that check it (with a sensible
fallback) now opt back in explicitly.

Release note: None
@knz knz requested a review from tbg November 18, 2019 14:25
@knz knz requested a review from a team as a code owner November 18, 2019 14:25
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@knz
Copy link
Copy Markdown
Contributor Author

knz commented Nov 18, 2019

tfyr!

bors r+

craig bot pushed a commit that referenced this pull request Nov 18, 2019
42537: cli/interactive_tests: opt out of telemetry by default r=knz a=knz

Prior to this patch, the CLI interactive tests were running with
diagnostic reporting (including update server checks, telemetry etc)
enabled.

This was unintentional—having implemented the tests initially, I
always worked under the assumption that the acceptance test runner was
disabling telemetry upfront. I only discovered the opposite was true
recently, seeing tests fail with mysterious errors when the telemetry
server happens to be mis-behaving.

This patch fixes the situation by opting the interactive tests out of
telemetry by default. The two tests that check it (with a sensible
fallback) now opt back in explicitly.

Release note: None

Co-authored-by: Raphael 'kena' Poss <knz@thaumogen.net>
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Nov 18, 2019

Build succeeded

@craig craig bot merged commit 14cbc36 into cockroachdb:master Nov 18, 2019
@knz knz deleted the 20191118-cli-tests branch November 18, 2019 15:49
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