You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extract fakeContext, buildImage, inspect, dockerCmd, … methods in packages @vdemeester
Use API for environment instead of cli
Make all test suite manage their own deamon. This should allow to use always the same method (instead of currently either dockerCmd or s.d.Cmd) and this would fix start integration-cli daemon in go rather than bash #17129
Using cli.Docker(...) instead of dockerCmd and cli.Docker(..., cli.Daemon(s.d)) instead of s.d.Cmd.
Replace request deprecated function (SockRequest, SockRequestRaw) usage to the new ones (Get, Post, Put, Do, …). @vdemeester — most of those could also use the client's package
start with the API suite that is different enough from the other
Create an ExperimentalTestSuite and remove the current experimental build (experimental is not a different binary anymore, we just need a suite where the deamon is with --experimental). @vdemeester
Update this to insert other potential suites
Maintain integration test suite (probably should be an external issue in the future)
Make test-integration more self-contained (limit the number of external service dependency like the hub)
List and remove integration tests that could be unit test. One example is some cli-only tests. These should be removed once [tests] cli unit tests #31217 is taken care of. I'll also list the one I think could be replaced by unit-test in another issue.
Several improvements can be done on the integration test side of
docker/docker. This issue is there to list them and track the work on it.utils_test.go, latestrunCommandWithOutputappearancedocker_utils_test.goenvironmentpackage [WIP] [test-integration] Move TearDownTest cleaning to environment package #30759 @vdemeesterfakeContext,buildImage,inspect,dockerCmd, … methods in packages @vdemeestercliMake all test suite manage their own deamon. This should allow to use always the same method (instead of currently eitherdockerCmdors.d.Cmd) and this would fix start integration-cli daemon in go rather than bash #17129Using
cli.Docker(...)instead ofdockerCmdandcli.Docker(..., cli.Daemon(s.d))instead ofs.d.Cmd.requestdeprecated function (SockRequest,SockRequestRaw) usage to the new ones (Get,Post,Put,Do, …). @vdemeester — most of those could also use theclient's packagetest-integration-cliand createtest-integrationthat only doesapitests.clitest aredockerrelated tests and should be on another repository (owned by docker). @vdemeester Introducetest-integrationtarget (and deprecate/freezetest-integration-cli) #33344Extract suites in their own packages- start with the API suite that is different enough from the other
- Create an
- Update this to insert other potential suites
ExperimentalTestSuiteand remove the current experimental build (experimental is not a different binary anymore, we just need a suite where the deamon is with--experimental). @vdemeestertest-integrationmore self-contained (limit the number of external service dependency like the hub)[x]docker/docker-e2eintegration @vdemeester/cc @icecrime @thaJeztah @docker/core-engine-maintainers