Skip to content

Commit 400b173

Browse files
committed
regression tests on travis #1
1 parent 22a1402 commit 400b173

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ ENV CFLAGS -O0
1313
ENV PATH /pg/install/bin:$PATH
1414

1515
COPY ./ /pg/src
16+
RUN chown -R postgres:postgres /pg
1617

1718
RUN cd /pg/src && \
1819
./configure --enable-cassert --enable-debug --prefix=/pg/install && \

contrib/mmts/Dockerfile

Lines changed: 1 addition & 0 deletions
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 && \

contrib/mmts/tests2/docker-compose.yml

Lines changed: 3 additions & 3 deletions
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

contrib/mmts/tests2/test_regression.py

Lines changed: 1 addition & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy