Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
acceptance: make docker more resilient to timeout in ContainerStart
Docker likes to never respond to us, and we do not usually have cancellations on the context (which would not help, after all, that would just fail the test right there). Instead, try a few times. The problem looks similar to golang/go#16060 golang/go#5103 Another possibility mentioned in usergroups is that some file descriptor limit is hit. Since I've never seen this locally, perhaps that's the case on our agent machines. Unfortunately, those are hard to SSH into. This may not be a good idea (after all, perhaps `Start()` succeeded) and we'd have to do something similar for `ContainerWait`. But, at least it should give us an additional data point: do the retries also just block? Is the container actually started when we retry?
- Loading branch information