X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7d79f1914845742c68d99da5dea9c17bf92b24b9..d6cccd7cd0c02742218b73b510d475c84e6bd5a3:/lib/install/deps_test.go diff --git a/lib/install/deps_test.go b/lib/install/deps_test.go index c2344d878c..993e779e5b 100644 --- a/lib/install/deps_test.go +++ b/lib/install/deps_test.go @@ -6,6 +6,7 @@ // Depending on host/network speed, Go's default 10m test timeout // might be too short; recommend "go test -timeout 20m -tags docker". // +//go:build docker // +build docker package install @@ -29,15 +30,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 \