mirror of
https://github.com/tuna/tunasync.git
synced 2025-06-15 14:12:47 +00:00
Revert "disable docker_test"
This reverts commit 6d17d6b4ca57b56ca043240a3cb1a0510122b2f4.
This commit is contained in:
parent
6d17d6b4ca
commit
b816803eaf
@ -1,10 +1,17 @@
|
|||||||
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(
|
||||||
@ -94,4 +101,3 @@ sleep 10
|
|||||||
d.postExec()
|
d.postExec()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user