Revert "disable docker_test"

This reverts commit 6d17d6b4ca57b56ca043240a3cb1a0510122b2f4.
This commit is contained in:
z4yx 2020-03-13 17:08:19 +08:00
parent 6d17d6b4ca
commit b816803eaf

View File

@ -1,10 +1,17 @@
package worker
import (
"fmt"
"io/ioutil"
"os"
"path/filepath"
"testing"
"time"
"github.com/codeskyblue/go-sh"
. "github.com/smartystreets/goconvey/convey"
)
/*
func getDockerByName(name string) (string, error) {
// docker ps -f 'name=$name' --format '{{.Names}}'
out, err := sh.Command(
@ -94,4 +101,3 @@ sleep 10
d.postExec()
})
}
*/