chore: update github.com/docker/docker to v24.0.7

This commit is contained in:
Ludovic Fernandez 2024-01-05 15:10:05 +01:00 committed by GitHub
parent eff294829f
commit cd8d5b8f10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 494 additions and 803 deletions

View file

@ -76,7 +76,11 @@ func (s *DockerSuite) TestDefaultDockerContainers(c *check.C) {
req, err := http.NewRequest(http.MethodGet, "http://127.0.0.1:8000/version", nil)
c.Assert(err, checker.IsNil)
req.Host = fmt.Sprintf("simple-%s.docker.localhost", s.composeProject.Name)
composeProject, err := s.composeProjectOptions.ToProject(nil)
c.Assert(err, checker.IsNil)
req.Host = fmt.Sprintf("simple-%s.docker.localhost", composeProject.Name)
// TODO Need to wait than 500 milliseconds more (for swarm or traefik to boot up ?)
resp, err := try.ResponseUntilStatusCode(req, 1500*time.Millisecond, http.StatusOK)