File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,14 @@ check:
4040xcheck :
4141 # pip install -r tests2/requirements.txt
4242 docker build -t pgmmts .
43+ cd tests2 && blockade destroy || true
44+ cd tests2 && docker rm node1 || true
45+ cd tests2 && docker rm node2 || true
46+ cd tests2 && docker rm node3 || true
47+ cd tests2 && docker network rm tests2_net || true
48+ cd tests2 && docker network rm tests2_net || true
4349 cd tests2 && blockade up
44- sleep 10 # wait for mmts init
50+ sleep 15 # wait for mmts init
4551 cd tests2 && python test_recovery.py || true
46- cd tests2 && blockade destroy
52+ # cd tests2 && blockade destroy
4753
Original file line number Diff line number Diff line change @@ -37,10 +37,12 @@ def test_1_node_disconnect(self):
3737 print ('Node3 disconnected' )
3838
3939 print ('Waiting 20s to discover failure' )
40- time .sleep (20 )
41- for client in self .clients :
42- agg = client .history .aggregate ()
43- print (agg )
40+
41+ while True :
42+ time .sleep (3 )
43+ for client in self .clients :
44+ agg = client .history .aggregate ()
45+ print (agg )
4446
4547# print('Waiting 3s to check operability')
4648# time.sleep(3)
You can’t perform that action at this time.
0 commit comments