Update regression tests

This commit is contained in:
Ian Barwick
2017-09-21 17:19:01 +09:00
parent 3257e0f7c3
commit 23c011fe5e
3 changed files with 45 additions and 0 deletions

View File

@@ -32,6 +32,12 @@ SELECT * FROM repmgr.show_nodes;
(0 rows)
-- functions
SELECT repmgr.am_bdr_failover_handler(-1);
am_bdr_failover_handler
-------------------------
(1 row)
SELECT repmgr.get_new_primary();
get_new_primary
-----------------
@@ -44,12 +50,42 @@ SELECT repmgr.get_voting_status();
(1 row)
SELECT repmgr.notify_follow_primary(-1);
notify_follow_primary
-----------------------
(1 row)
SELECT repmgr.other_node_is_candidate(-1,-1);
other_node_is_candidate
-------------------------
(1 row)
SELECT repmgr.request_vote(-1,-1);
request_vote
--------------
(1 row)
SELECT repmgr.reset_voting_status();
reset_voting_status
---------------------
(1 row)
SELECT repmgr.set_local_node_id(-1);
set_local_node_id
-------------------
(1 row)
SELECT repmgr.set_voting_status_initiated();
set_voting_status_initiated
-----------------------------
(1 row)
SELECT repmgr.standby_get_last_updated();
standby_get_last_updated
--------------------------