Add the 1st lettuce test for the basic replication.

Basically check that the table inserted on the primary
will get its way to the secondary.
This commit is contained in:
Oleksii Kliukin
2016-02-05 13:30:42 +01:00
parent 989443b4e3
commit 38bd037d99
3 changed files with 237 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
Feature: basic replication
In order to check that basic replication is working
As observers
We'll start 2 nodes of a new cluster,
add a table to the primary
and check that it gets replicated to the other over time.
Scenario: check replication of a single table
Given I have started postgres0
And I have started postgres1
When I add the table foo to postgres0
Then table foo is present on postgres1