Files
pg_consul/test/sql/120_consul_peers.sql
Sean Chittenden 3f2f77d3fe Fix up regression test output
This had drifted.  In the previous commit I inserted the ping check at number 100.  Hindsight: should have added that as 140 and renamed it in a followup commit.
2015-12-22 21:43:23 -08:00

13 lines
507 B
SQL

-- Make sure the module is loaded.
-- FIXME(seanc@): this is broken. Why do I have to call the function to
-- initialize the shared object? Something's broken here that I don't
-- understand yet and the oversight isn't jumping out at me. Moving on, but
-- marking this as a bug.
SELECT consul_agent_ping();
-- PASS: Make sure we only have one peer for the time being
SELECT COUNT(*) FROM consul_status_peers();
-- PASS: Grab the current list of peers
SELECT * FROM consul_status_peers() ORDER BY host;