mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
integration-cli: TestRemoveContainerAfterLiveRestore use overlay2
the overlay storage driver is deprecated, so we might as well use overlay2 for this test. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
235f86270d
commit
18529568d3
1 changed files with 2 additions and 2 deletions
|
@ -2690,14 +2690,14 @@ func (s *DockerDaemonSuite) TestExecWithUserAfterLiveRestore(c *testing.T) {
|
|||
|
||||
func (s *DockerDaemonSuite) TestRemoveContainerAfterLiveRestore(c *testing.T) {
|
||||
testRequires(c, DaemonIsLinux, overlayFSSupported, testEnv.IsLocalDaemon)
|
||||
s.d.StartWithBusybox(c, "--live-restore", "--storage-driver", "overlay")
|
||||
s.d.StartWithBusybox(c, "--live-restore", "--storage-driver", "overlay2")
|
||||
out, err := s.d.Cmd("run", "-d", "--name=top", "busybox", "top")
|
||||
assert.NilError(c, err, "Output: %s", out)
|
||||
|
||||
s.d.WaitRun("top")
|
||||
|
||||
// restart daemon.
|
||||
s.d.Restart(c, "--live-restore", "--storage-driver", "overlay")
|
||||
s.d.Restart(c, "--live-restore", "--storage-driver", "overlay2")
|
||||
|
||||
out, err = s.d.Cmd("stop", "top")
|
||||
assert.NilError(c, err, "Output: %s", out)
|
||||
|
|
Loading…
Reference in a new issue