From 7006a4ee147801a8ac30607ddc230bc0efdf60ea Mon Sep 17 00:00:00 2001 From: Alexander Kukushkin Date: Wed, 13 Apr 2016 14:28:00 +0200 Subject: [PATCH] Sometimes replica can't attach to the master after pg_rewind The reason for that is: it takes up to 10 seconds to create replication slot + up to 5 seconds to start straming and recover. --- features/basic_replication.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/basic_replication.feature b/features/basic_replication.feature index d2995e14..be192715 100644 --- a/features/basic_replication.feature +++ b/features/basic_replication.feature @@ -12,6 +12,6 @@ Feature: basic replication When I kill postgres0 Then postgres1 role is the primary after 32 seconds When I start postgres0 - Then postgres0 role is the secondary after 15 seconds + Then postgres0 role is the secondary after 20 seconds When I add the table bar to postgres1 Then table bar is present on postgres0 after 20 seconds