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

Expand nodejs SDK tests coverage, and add Kubernetes Smoke Tests for examples & tests #130

Merged
merged 7 commits into from
May 18, 2019

Conversation

metral
Copy link
Contributor

@metral metral commented May 14, 2019

Note: It is suggested to review this PR by commits instead of files, as they were structured to ease reading.

This PR adds better test coverage for the nodejs SDK, and a set of general utilities to perform Kubernetes Smoke Tests to validate that clusters are in fact up, running, and ready for use - coverage we were lacking to date, and at times creating false positives of fixes in the master branch.

Ref: #124.

  • replace-secgroup has been added.
  • add-more-subnets is pending a fix, but its test is included in this PR for review, even though it is not being currently exec'd on test runs. This will be enabled in a future PR once the issue is resolved.
  • upgrade-from-latest is being left for another PR.

Check out the sample test output or the Travis build output showcasing the new k8s smoke tests against examples and the new tests dir.

@metral metral added this to the 0.23 milestone May 14, 2019
@metral metral self-assigned this May 14, 2019
metral added a commit that referenced this pull request May 14, 2019
@metral metral force-pushed the metral/improve-nodejs-tests branch from 3428a65 to a1a91b9 Compare May 14, 2019 21:52
metral added a commit that referenced this pull request May 14, 2019
@metral metral force-pushed the metral/improve-nodejs-tests branch from a1a91b9 to a8f40ef Compare May 14, 2019 22:01
metral added a commit that referenced this pull request May 14, 2019
@metral metral force-pushed the metral/improve-nodejs-tests branch from a8f40ef to 5d2f6d2 Compare May 14, 2019 23:40
metral added a commit that referenced this pull request May 14, 2019
@metral metral force-pushed the metral/improve-nodejs-tests branch from 5d2f6d2 to 2c5349c Compare May 14, 2019 23:58
metral added a commit that referenced this pull request May 14, 2019
@metral metral force-pushed the metral/improve-nodejs-tests branch from 2c5349c to ece59f2 Compare May 15, 2019 01:06
metral added a commit that referenced this pull request May 15, 2019
utils/utils.go Outdated Show resolved Hide resolved
utils/utils.go Outdated Show resolved Hide resolved
utils/utils.go Outdated Show resolved Hide resolved
utils/utils.go Outdated Show resolved Hide resolved
utils/utils.go Outdated Show resolved Hide resolved
utils/utils.go Outdated Show resolved Hide resolved
utils/utils.go Outdated Show resolved Hide resolved
nodejs/eks/examples/examples_test.go Show resolved Hide resolved
metral added a commit to metral/pulumi-eks that referenced this pull request May 16, 2019
metral added a commit to metral/pulumi-eks that referenced this pull request May 16, 2019
@metral metral force-pushed the metral/improve-nodejs-tests branch 2 times, most recently from 713dc66 to cd51821 Compare May 16, 2019 18:11
metral added a commit that referenced this pull request May 16, 2019
@metral metral force-pushed the metral/improve-nodejs-tests branch from cd51821 to 2752051 Compare May 16, 2019 18:35
metral added a commit that referenced this pull request May 16, 2019
@metral metral force-pushed the metral/improve-nodejs-tests branch from 2752051 to 65ad3b1 Compare May 16, 2019 18:58
metral added a commit that referenced this pull request May 16, 2019
@metral metral force-pushed the metral/improve-nodejs-tests branch from 65ad3b1 to 0eb379e Compare May 16, 2019 19:31
metral added a commit that referenced this pull request May 16, 2019
@metral metral force-pushed the metral/improve-nodejs-tests branch from 4670ee4 to b72f235 Compare May 17, 2019 05:33
metral added a commit that referenced this pull request May 17, 2019
@metral
Copy link
Contributor Author

metral commented May 17, 2019

@lblackstone Feedback has been addressed. PTAL

@metral metral requested a review from lblackstone May 17, 2019 05:37
@metral metral force-pushed the metral/improve-nodejs-tests branch from b72f235 to e9389a8 Compare May 17, 2019 05:55
metral added a commit that referenced this pull request May 17, 2019
@metral metral force-pushed the metral/improve-nodejs-tests branch from e9389a8 to 10b75e4 Compare May 17, 2019 05:56
metral added a commit that referenced this pull request May 17, 2019
@metral metral force-pushed the metral/improve-nodejs-tests branch from 10b75e4 to ca58917 Compare May 17, 2019 06:00
metral added a commit that referenced this pull request May 17, 2019
@metral metral force-pushed the metral/improve-nodejs-tests branch from ca58917 to 3a8d97c Compare May 17, 2019 06:41
metral added a commit that referenced this pull request May 17, 2019
Copy link
Member

@lukehoban lukehoban left a comment

Choose a reason for hiding this comment

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

LGTM

nodejs/eks/examples/tests/replace-secgroup/index.ts Outdated Show resolved Hide resolved
utils/utils.go Show resolved Hide resolved
utils/utils.go Show resolved Hide resolved
utils/utils.go Show resolved Hide resolved
@metral metral force-pushed the metral/improve-nodejs-tests branch from 3a8d97c to 1291e4d Compare May 18, 2019 20:15
metral added a commit that referenced this pull request May 18, 2019
@metral metral force-pushed the metral/improve-nodejs-tests branch from 1291e4d to 5c948bf Compare May 18, 2019 20:31
@metral metral merged commit 52cb851 into master May 18, 2019
@pulumi-bot pulumi-bot deleted the metral/improve-nodejs-tests branch May 18, 2019 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants