X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6e1c29f2530ff36892ebe64a81e3d962766763de..929e817fc1c91e1d9a0afcfcab93fe07304d9be5:/services/arv-git-httpd/gitolite_test.go?ds=inline diff --git a/services/arv-git-httpd/gitolite_test.go b/services/arv-git-httpd/gitolite_test.go index d21a814a61..74c2b8cf4d 100644 --- a/services/arv-git-httpd/gitolite_test.go +++ b/services/arv-git-httpd/gitolite_test.go @@ -7,6 +7,7 @@ import ( "strings" "git.curoverse.com/arvados.git/sdk/go/arvados" + "git.curoverse.com/arvados.git/sdk/go/arvadostest" check "gopkg.in/check.v1" ) @@ -44,7 +45,8 @@ func (s *GitoliteSuite) SetUpTest(c *check.C) { s.tmpRepoRoot = s.gitoliteHome + "/repositories" s.Config = &Config{ Client: arvados.Client{ - APIHost: os.Getenv("ARVADOS_API_HOST"), + APIHost: arvadostest.APIHost(), + Insecure: true, }, Listen: ":0", GitCommand: "/usr/share/gitolite3/gitolite-shell",