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

Terratest for standard ohmyglb deployment with app #76

Merged
merged 2 commits into from
Apr 6, 2020
Merged

Conversation

ytsarev
Copy link
Member

@ytsarev ytsarev commented Apr 3, 2020

  • Covers standard ohmyglb + testapp we are frequently using
    for manual e2e testing and demos
  • Deploys ohmyglb
  • Check for Ingress to be ready
  • Deploys testapp
  • Waits for app pods and service ready
  • Checks expected serviceHealth status of ohmyglb

Notable issues:

  • No obvious way to test CRDs with terratest so
    falling back to kubectl + jsonpath
  • Hardcoded sleep to wait until ohmyglb catches up
    with fresh service readiness

I've asked upstream re their opinion on CRD testing
gruntwork-io/terratest#491

* Covers standard ohmyglb + testapp we are frequently using
  for manual e2e testing and demos
* Deploys ohmyglb
* Check for Ingress to be ready
* Deploys testapp
* Waits for app pods and service ready
* Checks expected `serviceHealth` status of ohmyglb

Notable issues:
* No obvious way to test CRDs with terratest so
  falling back to kubectl + jsonpath
* Hardcoded sleep to wait until ohmyglb catches up
  with fresh service readiness

I've asked upstream re their opinion on CRD testing
gruntwork-io/terratest#491
@ytsarev ytsarev merged commit 652a220 into master Apr 6, 2020
@ytsarev ytsarev deleted the moar-terratest branch April 6, 2020 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants