File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ RUN cd /pg/src && \
4343ENV PATH /pg/install/bin:$PATH
4444ENV PGDATA /pg/data
4545
46+ RUN cd /pg/src/contrib/raftable && make clean && make install
4647RUN cd /pg/src/contrib/mmts && make clean && make install
4748
4849ENTRYPOINT ["/pg/src/contrib/mmts/tests2/docker-entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -10,6 +10,20 @@ include $(top_builddir)/src/Makefile.global
1010
1111$(call recurse,all install,src config)
1212
13+ xcheck:
14+ #pip install -r tests2/requirements.txt
15+ # docker build -t pgmmts .
16+ cd contrib/mmts/tests2 && blockade destroy || true
17+ cd contrib/mmts/tests2 && docker rm node1 || true
18+ cd contrib/mmts/tests2 && docker rm node2 || true
19+ cd contrib/mmts/tests2 && docker rm node3 || true
20+ cd contrib/mmts/tests2 && docker network rm tests2_net || true
21+ cd contrib/mmts/tests2 && docker network rm tests2_net || true
22+ cd contrib/mmts/tests2 && blockade up
23+ sleep 20 # wait for mmts init
24+ cd contrib/mmts/tests2 && python test_recovery.py || true
25+ #cd contrib/mmts/tests2 && blockade destroy
26+
1327all:
1428 +@echo "All of PostgreSQL successfully made. Ready to install."
1529
You can’t perform that action at this time.
0 commit comments