Speed up behave tests by always using loop_wait=2 (#2361)

run time is reduced from ~5m30s to ~5m
This commit is contained in:
Alexander Kukushkin
2022-07-18 15:23:55 +02:00
committed by GitHub
parent cd5d20fa53
commit ead798d9ac
5 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ Feature: basic replication
Given I start postgres0
Then postgres0 is a leader after 10 seconds
And there is a non empty initialize key in DCS after 15 seconds
When I issue a PATCH request to http://127.0.0.1:8008/config with {"ttl": 20, "loop_wait": 2, "synchronous_mode": true}
When I issue a PATCH request to http://127.0.0.1:8008/config with {"ttl": 20, "synchronous_mode": true}
Then I receive a response code 200
When I start postgres1
And I configure and start postgres2 with a tag replicatefrom postgres0