diff --git a/builder_acc_test.go b/builder_acc_test.go index 43b496da8..ea4f861f0 100644 --- a/builder_acc_test.go +++ b/builder_acc_test.go @@ -21,13 +21,13 @@ func TestBuilderAcc_default(t *testing.T) { func defaultConfig() map[string]interface{} { config := map[string]interface{}{ - "vcenter_server": "vcenter.vsphere55.test", + "vcenter_server": "vcenter.vsphere65.test", "username": "root", "password": "jetbrains", "insecure_connection": true, "template": "alpine", - "host": "esxi-1.vsphere55.test", + "host": "esxi-1.vsphere65.test", "ssh_username": "root", "ssh_password": "jetbrains", @@ -200,13 +200,13 @@ func TestBuilderAcc_datastore(t *testing.T) { builderT.Test(t, builderT.TestCase{ Builder: &Builder{}, Template: datastoreConfig(), - Check: checkDatastore(t, "datastore1"), // on esxi-1.vsphere55.test + Check: checkDatastore(t, "datastore1"), // on esxi-1.vsphere65.test }) } func datastoreConfig() string { config := defaultConfig() - config["template"] = "alpine-host4" // on esxi-4.vsphere55.test + config["template"] = "alpine-host4" // on esxi-4.vsphere65.test return renderConfig(config) } @@ -249,7 +249,7 @@ func TestBuilderAcc_multipleDatastores(t *testing.T) { func multipleDatastoresConfig() string { config := defaultConfig() - config["host"] = "esxi-4.vsphere55.test" // host with 2 datastores + config["host"] = "esxi-4.vsphere65.test" // host with 2 datastores return renderConfig(config) } @@ -477,7 +477,7 @@ func renderConfig(config map[string]interface{}) string { func testConn(t *testing.T) *driver.Driver { d, err := driver.NewDriver(&driver.ConnectConfig{ - VCenterServer: "vcenter.vsphere55.test", + VCenterServer: "vcenter.vsphere65.test", Username: "root", Password: "jetbrains", InsecureConnection: true, diff --git a/driver/driver_test.go b/driver/driver_test.go index e7e347e68..f6cd6bee5 100644 --- a/driver/driver_test.go +++ b/driver/driver_test.go @@ -10,11 +10,11 @@ import ( // Defines whether acceptance tests should be run const TestEnvVar = "VSPHERE_DRIVER_ACC" -const hostName = "esxi-1.vsphere55.test" +const hostName = "esxi-1.vsphere65.test" func newTestDriver(t *testing.T) *Driver { d, err := NewDriver(&ConnectConfig{ - VCenterServer: "vcenter.vsphere55.test", + VCenterServer: "vcenter.vsphere65.test", Username: "root", Password: "jetbrains", InsecureConnection: true, diff --git a/driver/resource_pool_acc_test.go b/driver/resource_pool_acc_test.go index a1f2b47bd..5b43bacf1 100644 --- a/driver/resource_pool_acc_test.go +++ b/driver/resource_pool_acc_test.go @@ -6,7 +6,7 @@ func TestResourcePoolAcc(t *testing.T) { initDriverAcceptanceTest(t) d := newTestDriver(t) - p, err := d.FindResourcePool("esxi-1.vsphere55.test", "pool1/pool2") + p, err := d.FindResourcePool("esxi-1.vsphere65.test", "pool1/pool2") if err != nil { t.Fatalf("Cannot find the default resource pool '%v': %v", "pool1/pool2", err) }