Refresh sudo credentials before running integration test

This commit is contained in:
Tim St. Clair 2016-09-19 14:42:16 -07:00
parent 97987e5e0b
commit f66f9b127c
No known key found for this signature in database
GPG Key ID: 434D16BCEF479EAB

View File

@ -24,6 +24,7 @@ set -e
GO_FLAGS="-race" ./build/build.sh
TEST_PID=$$
sudo printf "" # Refresh sudo credentials if necessary.
function start {
set +e # We want to handle errors if cAdvisor crashes.
echo ">> starting cAdvisor locally"