This repository was archived by the owner on Oct 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -247,21 +247,6 @@ jobs:
247247 services :
248248 etcd : {}
249249
250- - name : consul_z3
251- templates : (( grab meta.consul_templates ))
252- instances : 1
253- persistent_disk : 1024
254- resource_pool : small_z3
255- networks :
256- - name : cf3
257- static_ips :
258- properties :
259- consul :
260- agent :
261- mode : server
262- metron_agent :
263- zone : z3
264-
265250 - name : etcd_z2
266251 templates : (( grab meta.etcd_templates ))
267252 instances : 1
@@ -270,6 +255,8 @@ jobs:
270255 networks :
271256 - name : cf2
272257 static_ips :
258+ update :
259+ serial : true
273260 properties :
274261 metron_agent :
275262 zone : z2
@@ -278,6 +265,21 @@ jobs:
278265 services :
279266 etcd : {}
280267
268+ - name : consul_z3
269+ templates : (( grab meta.consul_templates ))
270+ instances : 1
271+ persistent_disk : 1024
272+ resource_pool : small_z3
273+ networks :
274+ - name : cf3
275+ static_ips :
276+ properties :
277+ consul :
278+ agent :
279+ mode : server
280+ metron_agent :
281+ zone : z3
282+
281283 - name : etcd_z3
282284 templates : (( grab meta.etcd_templates ))
283285 instances : 1
Original file line number Diff line number Diff line change @@ -43,17 +43,21 @@ def ordered(job1_name, job2_name)
4343 end
4444 end
4545
46- describe "in order to start one etcd master for consensus" do
46+ describe "in order to start/upgrade etcd cluster while maintaining consensus" do
4747 it "has etcd_z1 serial" do
4848 expect ( is_serial ( "etcd_z1" ) ) . to be true
4949 end
5050
51+ it "has etcd_z2 serial" do
52+ expect ( is_serial ( "etcd_z2" ) ) . to be true
53+ end
54+
5155 it "has etcd_z1 before etcd_z2" do
5256 expect ( ordered ( "etcd_z1" , "etcd_z2" ) ) . to be true
5357 end
5458
55- it "has etcd_z1 before etcd_z3" do
56- expect ( ordered ( "etcd_z1 " , "etcd_z3" ) ) . to be true
59+ it "has etcd_z2 before etcd_z3" do
60+ expect ( ordered ( "etcd_z2 " , "etcd_z3" ) ) . to be true
5761 end
5862 end
5963
You can’t perform that action at this time.
0 commit comments