Files
docker-cli/components/engine/hack/make/test-integration-cli
Brian Goff 86b3710469 use per-check timeouts
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: 11d3f7092e38e1e90d926595c5a4ab9ff0da535c
Component: engine
2016-03-11 14:38:52 -05:00

19 lines
395 B
Bash

#!/bin/bash
set -e
bundle_test_integration_cli() {
TESTFLAGS="$TESTFLAGS -check.v -check.timeout=${TIMEOUT} -timeout=360m"
go_test_dir ./integration-cli
}
# subshell so that we can export PATH without breaking other things
(
bundle .integration-daemon-start
bundle .integration-daemon-setup
bundle_test_integration_cli
bundle .integration-daemon-stop
) 2>&1 | tee -a "$DEST/test.log"