Merge pull request #1469 from timstclair/integration

Refresh sudo credentials before running integration test
This commit is contained in:
Tim St. Clair 2016-09-19 15:01:43 -07:00 committed by GitHub
commit c122d07b23

View File

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