mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-06 06:33:18 -04:00
fmt
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
type StepInstanceInfo struct {
|
||||
Debug bool
|
||||
|
||||
info int
|
||||
info int
|
||||
}
|
||||
|
||||
// Run executes the Packer build step that gathers GCE instance info.
|
||||
|
||||
@@ -20,9 +20,9 @@ func TestESX5Driver_implRemoteDriver(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestESX5Driver_HostIP(t *testing.T) {
|
||||
expected_host := "127.0.0.1"
|
||||
expected_host := "127.0.0.1"
|
||||
|
||||
//create mock SSH server
|
||||
//create mock SSH server
|
||||
listen, _ := net.Listen("tcp", fmt.Sprintf("%s:0", expected_host))
|
||||
port := listen.Addr().(*net.TCPAddr).Port
|
||||
defer listen.Close()
|
||||
|
||||
@@ -150,7 +150,7 @@ func TestMuxConn_lotsOfData(t *testing.T) {
|
||||
t.Fatalf("err: %s", err)
|
||||
}
|
||||
|
||||
for i := 0; i < 4096 * 4; i++ {
|
||||
for i := 0; i < 4096*4; i++ {
|
||||
if _, err := s0.Write([]byte("hello")); err != nil {
|
||||
t.Fatalf("err: %s", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user