X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f75883d7826d92894638e4eff6d397196dd1123f..c2cba51503a0e41ddd68083993e32fe085e49a7f:/lib/install/deps_test.go?ds=sidebyside diff --git a/lib/install/deps_test.go b/lib/install/deps_test.go index d3e63986f6..5dfdbfe0e5 100644 --- a/lib/install/deps_test.go +++ b/lib/install/deps_test.go @@ -2,7 +2,10 @@ // // SPDX-License-Identifier: AGPL-3.0 -// Skip this slow test unless invoked as "go test -tags docker": +// Skip this slow test unless invoked as "go test -tags docker". +// Depending on host/network speed, Go's default 10m test timeout +// might be too short; recommend "go test -timeout 20m -tags docker". +// // +build docker package install @@ -26,15 +29,15 @@ func (*Suite) TestInstallDeps(c *check.C) { tmp := c.MkDir() script := ` set -x -export GOPATH=${GOPATH:-${HOME}/go} tmp="` + tmp + `" sourcepath="$(realpath ../..)" (cd ${sourcepath} && go build -o ${tmp} ./cmd/arvados-server) docker run -i --rm --workdir /arvados \ -v ${tmp}/arvados-server:/arvados-server:ro \ -v ${sourcepath}:/arvados:ro \ - -v /arvados/services/api/.bundle \ -v /arvados/apps/workbench/.bundle \ + -v /arvados/services/api/.bundle \ + -v /arvados/services/api/tmp \ --env http_proxy \ --env https_proxy \ debian:10 \