mirror of
https://github.com/moby/moby.git
synced 2025-07-27 20:02:03 +03:00
Implement Pause Resume support for Windows
Signed-off-by: Darren Stahl <darst@microsoft.com>
This commit is contained in:
@ -127,11 +127,10 @@ func (s *DockerSuite) TestExecExitStatus(c *check.C) {
|
||||
}
|
||||
|
||||
func (s *DockerSuite) TestExecPausedContainer(c *check.C) {
|
||||
// Windows does not support pause
|
||||
testRequires(c, DaemonIsLinux)
|
||||
testRequires(c, IsPausable)
|
||||
defer unpauseAllContainers()
|
||||
|
||||
out, _ := dockerCmd(c, "run", "-d", "--name", "testing", "busybox", "top")
|
||||
out, _ := runSleepingContainer(c, "-d", "--name", "testing")
|
||||
ContainerID := strings.TrimSpace(out)
|
||||
|
||||
dockerCmd(c, "pause", "testing")
|
||||
|
Reference in New Issue
Block a user