Integration: fix TestInfoDebug and other tests that spin up daemons for Windows #40156
Labels
area/testing
kind/enhancement
Enhancements are not bugs or new features but can improve usability or performance.
platform/windows
Projects
This test, and probably other tests that spin up new daemons, use the default configuration, which means they tried to setup a daemon/client to use; see
unix://
socket for exposing the API--storage-driver=overlay2
Both of those won't work on Windows, which means we're currently skipping those tests.
We should investigate if we can make those tests work on Windows as well, either by spinning up a daemon with different settings, or (depending on the test) by re-using a daemon for those tests. We don't run these tests in parallel, so re-using a daemon could be an option (if we properly clean-up state after each test).
There's some things to consider though;
docker load
a busybox image (and some optionally some other images) to be used for starting containers used during the tests. While this can be done fast (couple of seconds) on Linux, loading an image on Windows takes minutes, so is not a solution if we want to spin op a new daemon.Some details about the test-failures can be found in #40155;
https://ci.docker.com/public/blue/rest/organizations/jenkins/pipelines/moby/branches/PR-40154/runs/5/nodes/52/log/?start=0
The text was updated successfully, but these errors were encountered: