mirror of https://github.com/docker/docs.git
Hack: set NONUKE environment variable to run the tests without cleanup, to investigate temp directories
This commit is contained in:
parent
e87c3ea342
commit
ec6fe9f200
|
@ -36,6 +36,9 @@ var (
|
||||||
)
|
)
|
||||||
|
|
||||||
func nuke(runtime *Runtime) error {
|
func nuke(runtime *Runtime) error {
|
||||||
|
if nonuke := os.Getenv("NONUKE"); nonuke != "" {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
var wg sync.WaitGroup
|
var wg sync.WaitGroup
|
||||||
for _, container := range runtime.List() {
|
for _, container := range runtime.List() {
|
||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
|
|
Loading…
Reference in New Issue