Skip to content

Commit

Permalink
Update expected test results
Browse files Browse the repository at this point in the history
  • Loading branch information
artemgavrilov committed May 9, 2024
1 parent 6184189 commit faf43b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion expected/basic.out
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SELECT name
FROM pg_settings
WHERE name LIKE 'percona_telemetry.%';
name
---------------------------------------
-------------------------------------
percona_telemetry.enabled
percona_telemetry.files_to_keep
percona_telemetry.path
Expand Down
4 changes: 2 additions & 2 deletions expected/debug_json.out
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ HAVING COUNT(*) = (
)
AS INTEGER
)
+ CAST(NOT EXISTS (SELECT * FROM pg_settings where name like '%path') AS INTEGER)
+ CAST(NOT EXISTS (SELECT * FROM pg_settings where name = 'percona_telemetry.path') AS INTEGER)
);
databases_count
-----------------
Expand All @@ -76,7 +76,7 @@ FROM pg_database
WHERE datallowconn = true
HAVING COUNT(*) = (
SELECT json_array_length(read_json_file()::JSON->'databases')
+ CAST(NOT EXISTS (SELECT * FROM pg_settings where name like '%path') AS INTEGER)
+ CAST(NOT EXISTS (SELECT * FROM pg_settings where name = 'percona_telemetry.path') AS INTEGER)
);
databases_count_calc
----------------------
Expand Down

0 comments on commit faf43b4

Please sign in to comment.