tests/e2e: add failure case for importing images

pull/212/head v3.0.0-dev-20200423.1
iwilltry42 4 years ago
parent d7e71e07d2
commit 813a8a98af
No known key found for this signature in database
GPG Key ID: 7BA57AD1CFF16110
  1. 6
      tests/test_full_lifecycle.sh

@ -43,9 +43,9 @@ check_multi_node "$clustername" 2 || failed "failed to verify number of nodes"
# 4. load an image into the cluster
info "Loading an image into the cluster..."
docker pull nginx:latest
docker tag nginx:latest nginx:local
$EXE load image nginx:local -c $clustername
docker pull nginx:latest > /dev/null
docker tag nginx:latest nginx:local > /dev/null
$EXE load image nginx:local -c $clustername || failed "could not import image in $clustername"
# Cleanup

Loading…
Cancel
Save