Skip to content

Commit 5498450

Browse files
committed
regression tests on travis #1
1 parent 9f3d319 commit 5498450

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Diff for: Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ RUN cd /pg/src/contrib/raftable && make clean && make install
66

77
RUN mkdir /pg/mmts
88
COPY ./ /pg/mmts/
9+
RUN chown -R postgres:postgres /pg/mmts
910

1011
RUN export RAFTABLE_PATH=/pg/src/contrib/raftable && \
1112
export USE_PGXS=1 && \

Diff for: tests2/docker-compose.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
POSTGRES_DB: 'regression'
1212
NODE_ID: 1
1313
ports:
14-
- "5432:5432"
14+
- "15432:5432"
1515

1616
node2:
1717
container_name: node2
@@ -22,7 +22,7 @@ services:
2222
POSTGRES_DB: 'regression'
2323
NODE_ID: 2
2424
ports:
25-
- "5433:5432"
25+
- "15433:5432"
2626

2727
node3:
2828
container_name: node3
@@ -33,5 +33,5 @@ services:
3333
POSTGRES_DB: 'regression'
3434
NODE_ID: 3
3535
ports:
36-
- "5434:5432"
36+
- "15434:5432"
3737

Diff for: tests2/test_regression.py

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ def test_regression(self):
1919
'--use-existing',
2020
'--schedule=../../../src/test/regress/parallel_schedule',
2121
'--host=127.0.0.1',
22+
'--port=15432',
2223
'--user=postgres',
2324
'--inputdir=../../../src/test/regress/',
2425
'--outputdir=../../../src/test/regress/',

0 commit comments

Comments
 (0)