Skip to content

Commit

Permalink
PS-9165 postfix 8.0: Product Usage Tracking - phase 1 (MTR fixes)
Browse files Browse the repository at this point in the history
https://perconadev.atlassian.net/browse/PS-9165

1. test_session_info.test duplicated with IDs recorded for the case
when Percona Telemetry is built-in. It is better than masking IDs in
output, because the test relies on real ID values

2. regression.test - ID masked in test output

3. prep_stmt_sundries - make assertion value dependant on Percona
Telemetry being built-in
  • Loading branch information
kamil-holubicki committed Jun 27, 2024
1 parent 353e667 commit 6eac065
Show file tree
Hide file tree
Showing 9 changed files with 792 additions and 6 deletions.
3 changes: 3 additions & 0 deletions mysql-test/include/have_percona_telemetry.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if (`SELECT COUNT(*) = 0 FROM mysql.component WHERE component_urn='file://component_percona_telemetry'`) {
--skip Test not supported when Percona Telemetry is not built-in
}
3 changes: 3 additions & 0 deletions mysql-test/include/not_have_percona_telemetry.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if (`SELECT COUNT(*) = 1 FROM mysql.component WHERE component_urn='file://component_percona_telemetry'`) {
--skip Test not supported when Percona Telemetry is built-in
}
Loading

0 comments on commit 6eac065

Please sign in to comment.