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.
This commit is contained in:
Alexander Kukushkin
2016-04-13 14:28:00 +02:00
parent d57310bbc0
commit 7006a4ee14
+1 -1
View File
@@ -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