Merge pull request #33063 from pmorie/node-e2e

Automatic merge from submit-queue

Make node E2E tests more transparent

Add some logging and minor code reorg to make the node E2E tests a little more transparent and understandable.
This commit is contained in:
Kubernetes Submit Queue
2016-09-22 08:22:11 -07:00
committed by GitHub
6 changed files with 145 additions and 92 deletions

View File

@@ -141,8 +141,9 @@ if [ $remote = true ] ; then
exit $?
else
# Refresh sudo credentials if not running on GCE.
# Refresh sudo credentials for local run
if ! ping -c 1 -q metadata.google.internal &> /dev/null; then
echo "Updating sudo credentials"
sudo -v || exit 1
fi