Write "all interfaces, any port" as ":0" (not ":") for compatibility with Go 1.5...
[arvados.git] / services / arv-git-httpd / server_test.go
index beabedd7e9220913d928680029a4c36b1441c7a9..c1364ca75b22ce18a72c74ffadf9667a69bf1225 100644 (file)
@@ -103,6 +103,10 @@ func (s *IntegrationSuite) SetUpSuite(c *check.C) {
        arvadostest.StartAPI()
 }
 
+func (s *IntegrationSuite) TearDownSuite(c *check.C) {
+       arvadostest.StopAPI()
+}
+
 func (s *IntegrationSuite) SetUpTest(c *check.C) {
        arvadostest.ResetEnv()
        s.testServer = &server{}
@@ -132,7 +136,7 @@ func (s *IntegrationSuite) SetUpTest(c *check.C) {
        c.Assert(err, check.Equals, nil)
 
        theConfig = &config{
-               Addr:       ":",
+               Addr:       ":0",
                GitCommand: "/usr/bin/git",
                Root:       s.tmpRepoRoot,
        }