Skip to content

Commit

Permalink
Add more test cases with extended postgres (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
paunin authored Mar 9, 2018
1 parent 7b2aec7 commit 4f098b2
Show file tree
Hide file tree
Showing 35 changed files with 2,836 additions and 69 deletions.
29 changes: 28 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Fri Mar 9 16:56:10 +07 2018 ##
## BUILD_NUMBER=Fri Mar 9 17:48:14 +07 2018 ##
##########################################################################

sudo: required
Expand All @@ -11,6 +11,33 @@ services:

jobs:
include:
- script: NO_COLOURS=1 DEBUG=1 TEST_COMBINATIONS=postgres-extended-9.6_pgpool-3.7_barman-2.3 ./tests/run.sh
env:
- NAME = postgres-extended-9.6_pgpool-3.7_barman-2.3
- script: NO_COLOURS=1 DEBUG=1 TEST_COMBINATIONS=postgres-extended-9.6_pgpool-3.6_barman-2.3 ./tests/run.sh
env:
- NAME = postgres-extended-9.6_pgpool-3.6_barman-2.3
- script: NO_COLOURS=1 DEBUG=1 TEST_COMBINATIONS=postgres-extended-9.6_pgpool-3.3_barman-2.3 ./tests/run.sh
env:
- NAME = postgres-extended-9.6_pgpool-3.3_barman-2.3
- script: NO_COLOURS=1 DEBUG=1 TEST_COMBINATIONS=postgres-extended-9.5_pgpool-3.7_barman-2.3 ./tests/run.sh
env:
- NAME = postgres-extended-9.5_pgpool-3.7_barman-2.3
- script: NO_COLOURS=1 DEBUG=1 TEST_COMBINATIONS=postgres-extended-9.5_pgpool-3.6_barman-2.3 ./tests/run.sh
env:
- NAME = postgres-extended-9.5_pgpool-3.6_barman-2.3
- script: NO_COLOURS=1 DEBUG=1 TEST_COMBINATIONS=postgres-extended-9.5_pgpool-3.3_barman-2.3 ./tests/run.sh
env:
- NAME = postgres-extended-9.5_pgpool-3.3_barman-2.3
- script: NO_COLOURS=1 DEBUG=1 TEST_COMBINATIONS=postgres-extended-10.2_pgpool-3.7_barman-2.3 ./tests/run.sh
env:
- NAME = postgres-extended-10.2_pgpool-3.7_barman-2.3
- script: NO_COLOURS=1 DEBUG=1 TEST_COMBINATIONS=postgres-extended-10.2_pgpool-3.6_barman-2.3 ./tests/run.sh
env:
- NAME = postgres-extended-10.2_pgpool-3.6_barman-2.3
- script: NO_COLOURS=1 DEBUG=1 TEST_COMBINATIONS=postgres-extended-10.2_pgpool-3.3_barman-2.3 ./tests/run.sh
env:
- NAME = postgres-extended-10.2_pgpool-3.3_barman-2.3
- script: NO_COLOURS=1 DEBUG=1 TEST_COMBINATIONS=postgres-9.6_pgpool-3.7_barman-2.3 ./tests/run.sh
env:
- NAME = postgres-9.6_pgpool-3.7_barman-2.3
Expand Down
14 changes: 11 additions & 3 deletions docker-compose/postgres-10.2_pgpool-3.3_barman-2.3.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Fri Mar 9 16:56:10 +07 2018 ##
## BUILD_NUMBER=Fri Mar 9 17:48:14 +07 2018 ##
##########################################################################

version: '2'
Expand Down Expand Up @@ -37,7 +37,8 @@ services:
POSTGRES_USER: monkey_user
POSTGRES_DB: monkey_db
CLEAN_OVER_REWIND: 0
CONFIGS: "listen_addresses:'*',max_replication_slots:5"
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*';max_replication_slots:5"
# in format variable1:value1[,variable2:value2[,...]] if CONFIGS_DELIMITER_SYMBOL=, and CONFIGS_ASSIGNMENT_SYMBOL=:
# used for pgpool.conf file
#defaults:
Expand Down Expand Up @@ -67,6 +68,7 @@ services:
PARTNER_NODES: "pgmaster,pgslave1,pgslave3"
REPLICATION_PRIMARY_HOST: pgmaster
CLEAN_OVER_REWIND: 1
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "max_replication_slots:10" #some overrides
ports:
- 5441:5432
Expand All @@ -89,6 +91,8 @@ services:

REPLICATION_PRIMARY_HOST: pgslave1 # I want to have cascade Streeming replication
#USE_REPLICATION_SLOTS: 0
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5442:5432
volumes:
Expand All @@ -112,6 +116,8 @@ services:
REPLICATION_PRIMARY_HOST: pgmaster
NODE_PRIORITY: 200 # (default: 100)
CLEAN_OVER_REWIND: 1
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5443:5432
volumes:
Expand All @@ -132,6 +138,8 @@ services:

REPLICATION_PRIMARY_HOST: pgslave3
#USE_REPLICATION_SLOTS: 0
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5444:5432
volumes:
Expand Down Expand Up @@ -253,7 +261,7 @@ services:
POSTGRES_PASSWORD: monkey_pass
POSTGRES_USER: monkey_user
POSTGRES_DB: monkey_db

CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5439:5432
Expand Down
14 changes: 11 additions & 3 deletions docker-compose/postgres-10.2_pgpool-3.6_barman-2.3.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Fri Mar 9 16:56:10 +07 2018 ##
## BUILD_NUMBER=Fri Mar 9 17:48:14 +07 2018 ##
##########################################################################

version: '2'
Expand Down Expand Up @@ -37,7 +37,8 @@ services:
POSTGRES_USER: monkey_user
POSTGRES_DB: monkey_db
CLEAN_OVER_REWIND: 0
CONFIGS: "listen_addresses:'*',max_replication_slots:5"
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*';max_replication_slots:5"
# in format variable1:value1[,variable2:value2[,...]] if CONFIGS_DELIMITER_SYMBOL=, and CONFIGS_ASSIGNMENT_SYMBOL=:
# used for pgpool.conf file
#defaults:
Expand Down Expand Up @@ -67,6 +68,7 @@ services:
PARTNER_NODES: "pgmaster,pgslave1,pgslave3"
REPLICATION_PRIMARY_HOST: pgmaster
CLEAN_OVER_REWIND: 1
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "max_replication_slots:10" #some overrides
ports:
- 5441:5432
Expand All @@ -89,6 +91,8 @@ services:

REPLICATION_PRIMARY_HOST: pgslave1 # I want to have cascade Streeming replication
#USE_REPLICATION_SLOTS: 0
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5442:5432
volumes:
Expand All @@ -112,6 +116,8 @@ services:
REPLICATION_PRIMARY_HOST: pgmaster
NODE_PRIORITY: 200 # (default: 100)
CLEAN_OVER_REWIND: 1
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5443:5432
volumes:
Expand All @@ -132,6 +138,8 @@ services:

REPLICATION_PRIMARY_HOST: pgslave3
#USE_REPLICATION_SLOTS: 0
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5444:5432
volumes:
Expand Down Expand Up @@ -253,7 +261,7 @@ services:
POSTGRES_PASSWORD: monkey_pass
POSTGRES_USER: monkey_user
POSTGRES_DB: monkey_db

CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5439:5432
Expand Down
14 changes: 11 additions & 3 deletions docker-compose/postgres-10.2_pgpool-3.7_barman-2.3.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Fri Mar 9 16:56:10 +07 2018 ##
## BUILD_NUMBER=Fri Mar 9 17:48:14 +07 2018 ##
##########################################################################

version: '2'
Expand Down Expand Up @@ -37,7 +37,8 @@ services:
POSTGRES_USER: monkey_user
POSTGRES_DB: monkey_db
CLEAN_OVER_REWIND: 0
CONFIGS: "listen_addresses:'*',max_replication_slots:5"
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*';max_replication_slots:5"
# in format variable1:value1[,variable2:value2[,...]] if CONFIGS_DELIMITER_SYMBOL=, and CONFIGS_ASSIGNMENT_SYMBOL=:
# used for pgpool.conf file
#defaults:
Expand Down Expand Up @@ -67,6 +68,7 @@ services:
PARTNER_NODES: "pgmaster,pgslave1,pgslave3"
REPLICATION_PRIMARY_HOST: pgmaster
CLEAN_OVER_REWIND: 1
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "max_replication_slots:10" #some overrides
ports:
- 5441:5432
Expand All @@ -89,6 +91,8 @@ services:

REPLICATION_PRIMARY_HOST: pgslave1 # I want to have cascade Streeming replication
#USE_REPLICATION_SLOTS: 0
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5442:5432
volumes:
Expand All @@ -112,6 +116,8 @@ services:
REPLICATION_PRIMARY_HOST: pgmaster
NODE_PRIORITY: 200 # (default: 100)
CLEAN_OVER_REWIND: 1
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5443:5432
volumes:
Expand All @@ -132,6 +138,8 @@ services:

REPLICATION_PRIMARY_HOST: pgslave3
#USE_REPLICATION_SLOTS: 0
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5444:5432
volumes:
Expand Down Expand Up @@ -253,7 +261,7 @@ services:
POSTGRES_PASSWORD: monkey_pass
POSTGRES_USER: monkey_user
POSTGRES_DB: monkey_db

CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5439:5432
Expand Down
14 changes: 11 additions & 3 deletions docker-compose/postgres-9.5_pgpool-3.3_barman-2.3.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Fri Mar 9 16:56:10 +07 2018 ##
## BUILD_NUMBER=Fri Mar 9 17:48:14 +07 2018 ##
##########################################################################

version: '2'
Expand Down Expand Up @@ -37,7 +37,8 @@ services:
POSTGRES_USER: monkey_user
POSTGRES_DB: monkey_db
CLEAN_OVER_REWIND: 0
CONFIGS: "listen_addresses:'*',max_replication_slots:5"
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*';max_replication_slots:5"
# in format variable1:value1[,variable2:value2[,...]] if CONFIGS_DELIMITER_SYMBOL=, and CONFIGS_ASSIGNMENT_SYMBOL=:
# used for pgpool.conf file
#defaults:
Expand Down Expand Up @@ -67,6 +68,7 @@ services:
PARTNER_NODES: "pgmaster,pgslave1,pgslave3"
REPLICATION_PRIMARY_HOST: pgmaster
CLEAN_OVER_REWIND: 1
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "max_replication_slots:10" #some overrides
ports:
- 5441:5432
Expand All @@ -89,6 +91,8 @@ services:

REPLICATION_PRIMARY_HOST: pgslave1 # I want to have cascade Streeming replication
#USE_REPLICATION_SLOTS: 0
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5442:5432
volumes:
Expand All @@ -112,6 +116,8 @@ services:
REPLICATION_PRIMARY_HOST: pgmaster
NODE_PRIORITY: 200 # (default: 100)
CLEAN_OVER_REWIND: 1
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5443:5432
volumes:
Expand All @@ -132,6 +138,8 @@ services:

REPLICATION_PRIMARY_HOST: pgslave3
#USE_REPLICATION_SLOTS: 0
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5444:5432
volumes:
Expand Down Expand Up @@ -253,7 +261,7 @@ services:
POSTGRES_PASSWORD: monkey_pass
POSTGRES_USER: monkey_user
POSTGRES_DB: monkey_db

CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5439:5432
Expand Down
14 changes: 11 additions & 3 deletions docker-compose/postgres-9.5_pgpool-3.6_barman-2.3.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

##########################################################################
## AUTO-GENERATED FILE ##
## BUILD_NUMBER=Fri Mar 9 16:56:10 +07 2018 ##
## BUILD_NUMBER=Fri Mar 9 17:48:14 +07 2018 ##
##########################################################################

version: '2'
Expand Down Expand Up @@ -37,7 +37,8 @@ services:
POSTGRES_USER: monkey_user
POSTGRES_DB: monkey_db
CLEAN_OVER_REWIND: 0
CONFIGS: "listen_addresses:'*',max_replication_slots:5"
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*';max_replication_slots:5"
# in format variable1:value1[,variable2:value2[,...]] if CONFIGS_DELIMITER_SYMBOL=, and CONFIGS_ASSIGNMENT_SYMBOL=:
# used for pgpool.conf file
#defaults:
Expand Down Expand Up @@ -67,6 +68,7 @@ services:
PARTNER_NODES: "pgmaster,pgslave1,pgslave3"
REPLICATION_PRIMARY_HOST: pgmaster
CLEAN_OVER_REWIND: 1
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "max_replication_slots:10" #some overrides
ports:
- 5441:5432
Expand All @@ -89,6 +91,8 @@ services:

REPLICATION_PRIMARY_HOST: pgslave1 # I want to have cascade Streeming replication
#USE_REPLICATION_SLOTS: 0
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5442:5432
volumes:
Expand All @@ -112,6 +116,8 @@ services:
REPLICATION_PRIMARY_HOST: pgmaster
NODE_PRIORITY: 200 # (default: 100)
CLEAN_OVER_REWIND: 1
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5443:5432
volumes:
Expand All @@ -132,6 +138,8 @@ services:

REPLICATION_PRIMARY_HOST: pgslave3
#USE_REPLICATION_SLOTS: 0
CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5444:5432
volumes:
Expand Down Expand Up @@ -253,7 +261,7 @@ services:
POSTGRES_PASSWORD: monkey_pass
POSTGRES_USER: monkey_user
POSTGRES_DB: monkey_db

CONFIGS_DELIMITER_SYMBOL: ;
CONFIGS: "listen_addresses:'*'"
ports:
- 5439:5432
Expand Down
Loading

0 comments on commit 4f098b2

Please sign in to comment.