X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4689cec4c94dbbfcf990250e15ae6e822f9fd170..90a750e42e27ee5cfdffa65ba675b19005cbb345:/services/arv-git-httpd/integration_test.go diff --git a/services/arv-git-httpd/integration_test.go b/services/arv-git-httpd/integration_test.go index 5e55eca754..53b636dc0e 100644 --- a/services/arv-git-httpd/integration_test.go +++ b/services/arv-git-httpd/integration_test.go @@ -1,3 +1,7 @@ +// Copyright (C) The Arvados Authors. All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0 + package main import ( @@ -73,9 +77,10 @@ func (s *IntegrationSuite) SetUpTest(c *check.C) { APIHost: arvadostest.APIHost(), Insecure: true, }, - Listen: ":0", - GitCommand: "/usr/bin/git", - RepoRoot: s.tmpRepoRoot, + Listen: "localhost:0", + GitCommand: "/usr/bin/git", + RepoRoot: s.tmpRepoRoot, + ManagementToken: arvadostest.ManagementToken, } } @@ -112,6 +117,8 @@ func (s *IntegrationSuite) TearDownTest(c *check.C) { s.tmpWorkdir = "" s.Config = nil + + theConfig = defaultConfig() } func (s *IntegrationSuite) RunGit(c *check.C, token, gitCmd, repo string, args ...string) error {