Skip to content

Commit 87a50ef

Browse files
committed
ut2
1 parent cb712d7 commit 87a50ef

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

spec/parts/linux/cloud-init/artifacts/cse_install_spec.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)