mirror of https://github.com/docker/docs.git
updated integration tests
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
parent
946db8a08d
commit
f4cf4ce801
|
@ -8,8 +8,8 @@ import (
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
var (
|
||||||
machineName = "machine-integration-test-%s"
|
machineName = fmt.Sprintf("machine-test-%d", time.Now().UnixNano()) + "-%s"
|
||||||
)
|
)
|
||||||
|
|
||||||
func machineCreate(name string, t *testing.T, wg *sync.WaitGroup) {
|
func machineCreate(name string, t *testing.T, wg *sync.WaitGroup) {
|
||||||
|
|
|
@ -64,7 +64,6 @@ func init() {
|
||||||
out, _, err := runCommandWithOutput(whichCmd)
|
out, _, err := runCommandWithOutput(whichCmd)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
machineBinary = stripTrailingCharacters(out)
|
machineBinary = stripTrailingCharacters(out)
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
fmt.Printf("ERROR: couldn't resolve full path to the Machine binary")
|
fmt.Printf("ERROR: couldn't resolve full path to the Machine binary")
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
|
Loading…
Reference in New Issue