Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Acceptance test simplification and related changes #1381

Merged
merged 6 commits into from
Apr 12, 2021
Merged

Conversation

koikonom
Copy link
Contributor

@koikonom koikonom commented Apr 8, 2021

This started as an effort to run tests against vsphere 7.0, but ended up fixing a few outstanding bugs and making the acceptance tests a bit simpler by reusing some resources instead of building new ones each time.

There are some outstanding issues with the tests, but these will addressed in separate PRs.

@koikonom koikonom requested review from aareet and appilon April 8, 2021 10:14
@ghost ghost added the size/xxl Relative Sizing: Extra-Extra-Large label Apr 8, 2021
Copy link
Contributor

@appilon appilon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@@ -137,10 +179,21 @@ resource "local_file" "vcsa_template" {
})
filename = "./tmp/vcsa.json"
provisioner "local-exec" {
command = "sleep 290; echo five more; sleep 290; TERM=xterm-256color ./tmp/mnt/vcsa-cli-installer/lin64/vcsa-deploy install --accept-eula --acknowledge-ceip --no-ssl-certificate-verification --verbose --skip-ovftool-verification ./tmp/vcsa.json"
command = "sleep 290; echo five more; sleep 290; TERM=xterm-256color ${var.VCSA_DEPLOY_PATH} install --accept-eula --acknowledge-ceip --no-ssl-certificate-verification --verbose --skip-ovftool-verification $(pwd)/tmp/vcsa.json"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recall the sleep 290; echo five more as unnecessary when i set things up... but my memory is hazy

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sometimes the server is not immediately available, which is why this long sleep was added.

@appilon appilon mentioned this pull request Apr 8, 2021
@koikonom koikonom merged commit 21e5d47 into master Apr 12, 2021
@koikonom koikonom deleted the acc_tests_fixes branch April 12, 2021 16:33
@ghost
Copy link

ghost commented May 13, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
size/xxl Relative Sizing: Extra-Extra-Large
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants