1
0
Fork 0

Flaky tests and refresh problem in consul catalog

This commit is contained in:
SALLEYRON Julien 2017-09-20 19:08:02 +02:00 committed by Traefiker
parent 9d00da7285
commit 795a346006
2 changed files with 8 additions and 10 deletions

View file

@ -261,6 +261,7 @@ func (s *ConsulCatalogSuite) TestRefreshConfigWithMultipleNodeWithoutHealthCheck
err = s.registerAgentService("test", nginx.NetworkSettings.IPAddress, 80, []string{"name=nginx1"})
c.Assert(err, checker.IsNil, check.Commentf("Error registering agent service"))
defer s.deregisterAgentService(nginx.NetworkSettings.IPAddress)
req, err := http.NewRequest(http.MethodGet, "http://127.0.0.1:8000/", nil)
c.Assert(err, checker.IsNil)