disable docker_test

This commit is contained in:
z4yx 2020-03-13 17:04:36 +08:00
parent 51e7f1d573
commit 6d17d6b4ca

View File

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