@@ -207,15 +207,15 @@ var _ = Describe("getControlPlaneRKE2Commands", func() {
207207 It ("should return slice of control plane commands" , func () {
208208 commands , err := getControlPlaneRKE2Commands (baseUserData )
209209 Expect (err ).ToNot (HaveOccurred ())
210- Expect (commands ).To (HaveLen (3 ))
210+ Expect (commands ).To (HaveLen (7 ))
211211 Expect (commands ).To (ContainElements (fmt .Sprintf (controlPlaneCommand , baseUserData .RKE2Version ), serverSystemdServices [0 ], serverSystemdServices [1 ]))
212212 })
213213
214214 It ("should return slice of control plane commands with air gapped" , func () {
215215 baseUserData .AirGapped = true
216216 commands , err := getControlPlaneRKE2Commands (baseUserData )
217217 Expect (err ).ToNot (HaveOccurred ())
218- Expect (commands ).To (HaveLen (3 ))
218+ Expect (commands ).To (HaveLen (7 ))
219219 Expect (commands ).To (ContainElements (airGappedControlPlaneCommand , serverSystemdServices [0 ], serverSystemdServices [1 ]))
220220 })
221221
@@ -247,15 +247,15 @@ var _ = Describe("getWorkerRKE2Commands", func() {
247247 It ("should return slice of worker commands" , func () {
248248 commands , err := getWorkerRKE2Commands (baseUserData )
249249 Expect (err ).ToNot (HaveOccurred ())
250- Expect (commands ).To (HaveLen (3 ))
250+ Expect (commands ).To (HaveLen (7 ))
251251 Expect (commands ).To (ContainElements (fmt .Sprintf (workerCommand , baseUserData .RKE2Version ), workerSystemdServices [0 ], workerSystemdServices [1 ]))
252252 })
253253
254254 It ("should return slice of worker commands with air gapped" , func () {
255255 baseUserData .AirGapped = true
256256 commands , err := getWorkerRKE2Commands (baseUserData )
257257 Expect (err ).ToNot (HaveOccurred ())
258- Expect (commands ).To (HaveLen (3 ))
258+ Expect (commands ).To (HaveLen (7 ))
259259 Expect (commands ).To (ContainElements (airGappedWorkerCommand , workerSystemdServices [0 ], workerSystemdServices [1 ]))
260260 })
261261
0 commit comments