diff --git a/integration/construct/construct_test.go b/integration/construct/construct_test.go index 961e143e..0d3903a3 100644 --- a/integration/construct/construct_test.go +++ b/integration/construct/construct_test.go @@ -5,7 +5,6 @@ import ( "io/ioutil" "os" "path/filepath" - "regexp" "time" "github.com/cloudfoundry/stembuild/test/helpers" @@ -62,19 +61,6 @@ var _ = Describe("stembuild construct", func() { Eventually(session.Out, constructOutputTimeout).Should(Say(`Attempting to enable WinRM on the guest vm...WinRm enabled on the guest VM`)) }) - It("handles special characters", func() { - isAlphaNumeric, err := regexp.Compile("[a-zA-Z0-9]+") - Expect(err).ToNot(HaveOccurred()) - - if isAlphaNumeric.MatchString(conf.VCenterUsername) && isAlphaNumeric.MatchString(conf.VCenterPassword) { - Skip("vCenter username or password must contain special characters") - } - session := helpers.Stembuild(stembuildExecutable, "construct", "-vm-ip", conf.TargetIP, "-vm-username", conf.VMUsername, "-vm-password", conf.VMPassword, "-vcenter-url", conf.VCenterURL, "-vcenter-username", conf.VCenterUsername, "-vcenter-password", conf.VCenterPassword, "-vm-inventory-path", conf.VMInventoryPath, "-vcenter-ca-certs", conf.VCenterCACert) - - Eventually(session, constructOutputTimeout).Should(Exit(0)) - Eventually(session.Out).Should(Say(`mock stemcell automation script executed`)) - }) - It("successfully runs even when a user has logged in", func() { fmt.Printf("Logged on VM for test has IP: %s\n", conf.LoggedInVMIP)