mirror of
https://github.com/moby/moby.git
synced 2026-08-04 23:21:00 +00:00
Migrate non-redundant `DockerCLIRestartSuite` cases to modern integration tests: - `TestRestartStoppedContainer` -> `TestContainerRestartStoppedContainer` - `TestRestartWithVolumes` -> `TestContainerRestartWithVolumes` - `TestRestartContainerSuccess` -> `TestContainerRestartPolicyAfterProcessExit/direct-process-exit` - `TestRestartPolicyAfterRestart` -> `TestContainerRestartPolicyAfterProcessExit/after-manual-restart` - `TestRestartWithPolicyUserDefinedNetwork` -> `TestContainerRestartPolicyUserDefinedNetwork` Drop redundant deprecated cases: - `TestRestartRunningContainer` covered by `TestWaitRestartedContainer`. - `TestRestartPolicyNO`, `TestRestartPolicyAlways`, `TestRestartPolicyOnFailure` covered by modern create/restart-policy tests. - `TestRestartAutoRemoveContainer` covered by `TestContainerWithAutoRemoveCanBeRestarted`. - `TestRestartDisconnectedContainer` low-value adjacent coverage already exercised by networking restart tests. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
18 KiB
18 KiB