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 && \
43
43
ENV PATH /pg/install/bin:$PATH
44
44
ENV PGDATA /pg/data
45
45
46
+ RUN cd /pg/src/contrib/raftable && make clean && make install
46
47
RUN cd /pg/src/contrib/mmts && make clean && make install
47
48
48
49
ENTRYPOINT ["/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
10
10
11
11
$(call recurse,all install,src config)
12
12
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
+
13
27
all:
14
28
+@echo "All of PostgreSQL successfully made. Ready to install."
15
29
You can’t perform that action at this time.
0 commit comments