From 64615c9aa8e21bf9cd39e6ad4496c9e9c1bce55f Mon Sep 17 00:00:00 2001 From: "John Howard (VM)" Date: Mon, 13 Mar 2017 11:24:25 -0700 Subject: [PATCH] Windows: CI Only unpause on Hyper-V containers Signed-off-by: John Howard (VM) --- integration-cli/environment/clean.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/integration-cli/environment/clean.go b/integration-cli/environment/clean.go index 77a605fbfd..b27838337e 100644 --- a/integration-cli/environment/clean.go +++ b/integration-cli/environment/clean.go @@ -25,7 +25,9 @@ type logT interface { // and removing everything else. It's meant to run after any tests so that they don't // depend on each others. func (e *Execution) Clean(t testingT, dockerBinary string) { - unpauseAllContainers(t, dockerBinary) + if (e.DaemonPlatform() != "windows") || (e.DaemonPlatform() == "windows" && e.Isolation() == "hyperv") { + unpauseAllContainers(t, dockerBinary) + } deleteAllContainers(t, dockerBinary) deleteAllImages(t, dockerBinary, e.protectedElements.images) deleteAllVolumes(t, dockerBinary)