Skip to content

Commit

Permalink
Use consistent technique to create vCeenter paths
Browse files Browse the repository at this point in the history
  • Loading branch information
aramprice committed Jul 23, 2024
1 parent c7e5aa9 commit 6a2a12d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions integration/package/package_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ var _ = Describe("Package", func() {

BeforeEach(func() {
vcenterFolder := helpers.EnvMustExist(vcenterFolderVariable)

packageTestVMName := fmt.Sprintf("stembuild-package-test-%d", rand.Int())

baseVMWithPath := fmt.Sprintf(vcenterFolder + "/" + baseVMName)
baseVMWithPath := strings.Join([]string{vcenterFolder, baseVMName}, "/")
vmPath = strings.Join([]string{vcenterFolder, packageTestVMName}, "/")

vcenterAdminCredentialUrl = helpers.EnvMustExist(vcenterAdminCredentialUrlVariable)
Expand Down

0 comments on commit 6a2a12d

Please sign in to comment.