mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Windows:Disable 2 restart test when Hyper-V
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
cbb885b07a
commit
faaffd5d6d
1 changed files with 8 additions and 2 deletions
|
@ -164,7 +164,10 @@ func (s *DockerSuite) TestRestartContainerwithGoodContainer(c *check.C) {
|
|||
}
|
||||
|
||||
func (s *DockerSuite) TestRestartContainerSuccess(c *check.C) {
|
||||
testRequires(c, testEnv.IsLocalDaemon)
|
||||
// Skipped for Hyper-V isolated containers. Test is currently written
|
||||
// such that it assumes there is a host process to kill. In Hyper-V
|
||||
// containers, the process is inside the utility VM, not on the host.
|
||||
testRequires(c, testEnv.IsLocalDaemon, IsolationIsProcess)
|
||||
|
||||
out := runSleepingContainer(c, "-d", "--restart=always")
|
||||
id := strings.TrimSpace(out)
|
||||
|
@ -234,7 +237,10 @@ func (s *DockerSuite) TestRestartWithPolicyUserDefinedNetwork(c *check.C) {
|
|||
}
|
||||
|
||||
func (s *DockerSuite) TestRestartPolicyAfterRestart(c *check.C) {
|
||||
testRequires(c, testEnv.IsLocalDaemon)
|
||||
// Skipped for Hyper-V isolated containers. Test is currently written
|
||||
// such that it assumes there is a host process to kill. In Hyper-V
|
||||
// containers, the process is inside the utility VM, not on the host.
|
||||
testRequires(c, testEnv.IsLocalDaemon, IsolationIsProcess)
|
||||
|
||||
out := runSleepingContainer(c, "-d", "--restart=always")
|
||||
id := strings.TrimSpace(out)
|
||||
|
|
Loading…
Reference in a new issue