File tree 2 files changed +14
-6
lines changed
2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,14 @@ check:
40
40
xcheck :
41
41
# pip install -r tests2/requirements.txt
42
42
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
43
49
cd tests2 && blockade up
44
- sleep 10 # wait for mmts init
50
+ sleep 15 # wait for mmts init
45
51
cd tests2 && python test_recovery.py || true
46
- cd tests2 && blockade destroy
52
+ # cd tests2 && blockade destroy
47
53
Original file line number Diff line number Diff line change @@ -37,10 +37,12 @@ def test_1_node_disconnect(self):
37
37
print ('Node3 disconnected' )
38
38
39
39
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 )
44
46
45
47
# print('Waiting 3s to check operability')
46
48
# time.sleep(3)
You can’t perform that action at this time.
0 commit comments