File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
spec/parts/linux/cloud-init/artifacts Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -274,28 +274,24 @@ Describe 'cse_install.sh'
274274
275275 It ' should call installToolFromBootstrapProfileRegistry'
276276 When call installKubeletKubectlFromBootstrapProfileRegistry $BOOTSTRAP_PROFILE_CONTAINER_REGISTRY_SERVER $KUBERNETES_VERSION
277- The output should include " installKubeletKubectlFromBootstrapProfileRegistry myregistry.azurecr.io 1.34.0 "
277+ The output should include " installKubeletKubectlFromBootstrapProfileRegistry"
278278 The output should not include " installKubeletKubectlFromURL"
279279 End
280280
281281 It ' should call installKubeletKubectlFromURL if installToolFromBootstrapProfileRegistry fails'
282282 installToolFromBootstrapProfileRegistry () {
283- echo " installToolFromBootstrapProfileRegistry fails"
284283 return 1
285284 }
286285 When call installToolFromBootstrapProfileRegistry $BOOTSTRAP_PROFILE_CONTAINER_REGISTRY_SERVER $KUBERNETES_VERSION
287- The output should include " installToolFromBootstrapProfileRegistry fails"
288286 The output should include " installKubeletKubectlFromURL"
289287 End
290288
291289 It ' should not call installKubeletKubectlFromURL if installToolFromBootstrapProfileRegistry fails but SHOULD_ENFORCE_KUBE_PMC_INSTALL is true'
292290 installToolFromBootstrapProfileRegistry () {
293- echo " installToolFromBootstrapProfileRegistry fails"
294291 return 1
295292 }
296293 SHOULD_ENFORCE_KUBE_PMC_INSTALL=" true"
297294 When call installToolFromBootstrapProfileRegistry $BOOTSTRAP_PROFILE_CONTAINER_REGISTRY_SERVER $KUBERNETES_VERSION
298- The output should include " installToolFromBootstrapProfileRegistry fails"
299295 The output should not include " installKubeletKubectlFromURL"
300296 End
301297 End
You can’t perform that action at this time.
0 commit comments