Tests occasionally get hung up for a while when a slon process complains for a while with the following error: Dec 31 11:47:25 cbbrowne postgres[13812]: [2-1] ERROR: more than one row returned by a subquery used as an expression Dec 31 11:47:25 cbbrowne postgres[13812]: [2-2] STATEMENT: select count(*) from "_slony_regress1".sl_log_1 l Dec 31 11:47:25 cbbrowne postgres[13812]: [2-3] #011where not(txid_visible_in_snapshot(l.log_txid, (select ev_snapshot from "_slony_regress1".sl_event where ev_timestamp = (select max(ev_timestamp) from "_slony_regress1".sl_event)))); The trouble here is that there may be multiple snapshots with the same timestamp. Problem is in tests/poll_cluster.sh
Fixed... http://git.postgresql.org/gitweb?p=slony1-engine.git;a=commit;h=dc15135d39d415b313f7938640b51494938b1537