mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Windows: CI Only unpause on Hyper-V containers
Signed-off-by: John Howard (VM) <jhoward@ntdev.microsoft.com>
This commit is contained in:
parent
47615d9871
commit
64615c9aa8
1 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,9 @@ type logT interface {
|
||||||
// and removing everything else. It's meant to run after any tests so that they don't
|
// and removing everything else. It's meant to run after any tests so that they don't
|
||||||
// depend on each others.
|
// depend on each others.
|
||||||
func (e *Execution) Clean(t testingT, dockerBinary string) {
|
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)
|
deleteAllContainers(t, dockerBinary)
|
||||||
deleteAllImages(t, dockerBinary, e.protectedElements.images)
|
deleteAllImages(t, dockerBinary, e.protectedElements.images)
|
||||||
deleteAllVolumes(t, dockerBinary)
|
deleteAllVolumes(t, dockerBinary)
|
||||||
|
|
Loading…
Reference in a new issue