mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Implement Pause Resume support for Windows
Signed-off-by: Darren Stahl <darst@microsoft.com>
This commit is contained in:
parent
a7db0a8402
commit
69985e85d3
11 changed files with 121 additions and 33 deletions
|
@ -154,9 +154,9 @@ func (s *DockerSuite) TestAttachDisconnect(c *check.C) {
|
|||
}
|
||||
|
||||
func (s *DockerSuite) TestAttachPausedContainer(c *check.C) {
|
||||
testRequires(c, DaemonIsLinux) // Containers cannot be paused on Windows
|
||||
testRequires(c, IsPausable)
|
||||
defer unpauseAllContainers()
|
||||
dockerCmd(c, "run", "-d", "--name=test", "busybox", "top")
|
||||
runSleepingContainer(c, "-d", "--name=test")
|
||||
dockerCmd(c, "pause", "test")
|
||||
|
||||
result := dockerCmdWithResult("attach", "test")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue