updated integration tests

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
Evan Hazlett 2015-01-14 23:05:35 -05:00
parent 946db8a08d
commit f4cf4ce801
2 changed files with 2 additions and 3 deletions

View File

@ -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) {

View File

@ -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)