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

chore(tests): create separate integ test suite #1297

Merged
merged 1 commit into from
Nov 6, 2019
Merged

Conversation

edvald
Copy link
Collaborator

@edvald edvald commented Oct 31, 2019

What this PR does / why we need it:

Split some of our tests into a separate integ suite. We should use this for tests that require e.g. Docker, Kubernetes or other runtime dependencies to be running on the machine when executing.

These tests currently run in the test-minikube job in CI.

Also did some minor refactoring on the e2e tests, and updated the
contributor docs.

@edvald edvald force-pushed the integ-suite branch 2 times, most recently from d8c1624 to 9f903c3 Compare October 31, 2019 17:23
@edvald edvald requested a review from eysi09 November 4, 2019 12:13
@eysi09 eysi09 assigned 10ko and unassigned 10ko Nov 6, 2019
@eysi09 eysi09 requested review from 10ko and removed request for eysi09 November 6, 2019 10:18
Copy link
Member

@10ko 10ko left a comment

Choose a reason for hiding this comment

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

Looks good, my only concern is in the --timeout 30000 in the file mocha.integ.opts.
Some of the tests run for longer, how is that applied?

Aside that, all good.

@10ko
Copy link
Member

10ko commented Nov 6, 2019

Once the conflicts are fixed, I'll merge.
👍

@edvald
Copy link
Collaborator Author

edvald commented Nov 6, 2019

I figured 30 seconds would be plenty, haven't seen any tests take longer.

@10ko
Copy link
Member

10ko commented Nov 6, 2019

I stand corrected, I must have had some bad run at some point. I checked some recent run and it looks the max is 17-18 seconds.
Cool, LGTM

Also did some minor refactoring on the e2e tests, and updated the
contributor docs.
@edvald edvald merged commit f69551e into master Nov 6, 2019
@edvald edvald deleted the integ-suite branch November 6, 2019 14:16
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.

2 participants