mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +00:00
PG-563: Update TAP testcases and output due to changes by DEV.
As part of this PR, also updated regression test cases that are related to following JIRA issues as well. PG-354 pg_stat_monitor: Remove pg_stat_monitor_settings view Now we not using pg_stat_monitor_settings view, due to this change majority of TAP testcase requried output changes. PG-558: Create test case to verify the function names and count in PGSM. Added additional output file for SQL test case. PG-554: Remove redundant expected output files from regression. Removed unnecessary output files in TAP testcases where these were not needed.
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
Create EXTENSION pg_stat_monitor;
|
||||
CREATE EXTENSION pg_stat_monitor;
|
||||
SELECT pg_stat_monitor_reset();
|
||||
pg_stat_monitor_reset
|
||||
-----------------------
|
||||
|
||||
(1 row)
|
||||
|
||||
Set application_name = 'naeem' ;
|
||||
SET application_name = 'naeem' ;
|
||||
SELECT 1 AS num;
|
||||
num
|
||||
-----
|
||||
1
|
||||
(1 row)
|
||||
|
||||
Set application_name = 'psql' ;
|
||||
SET application_name = 'psql' ;
|
||||
SELECT 1 AS num;
|
||||
num
|
||||
-----
|
||||
@@ -25,8 +25,8 @@ SELECT query,application_name FROM pg_stat_monitor ORDER BY query, application_n
|
||||
SELECT 1 AS num | naeem
|
||||
SELECT 1 AS num | psql
|
||||
SELECT pg_stat_monitor_reset() | pg_regress/application_name_unique
|
||||
Set application_name = 'naeem' | naeem
|
||||
Set application_name = 'psql' | psql
|
||||
SET application_name = 'naeem' | naeem
|
||||
SET application_name = 'psql' | psql
|
||||
(5 rows)
|
||||
|
||||
SELECT pg_stat_monitor_reset();
|
||||
|
||||
Reference in New Issue
Block a user