diff --git a/worker/docker_test.go b/worker/docker_test.go index 08eb134..394ab98 100644 --- a/worker/docker_test.go +++ b/worker/docker_test.go @@ -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() }) } -*/