Skip to content

Batch image export tests #1490

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

Merged
merged 2 commits into from
Mar 16, 2017
Merged

Batch image export tests #1490

merged 2 commits into from
Mar 16, 2017

Conversation

etpinard
Copy link
Contributor

Previously, image export tests were simply firing requests to our image server all at once.

We currently (only) generate 21 images in this export test, so most machines can handle that fairly easily. But looks like (from all the intermittent failures) CI has a harder time getting through those 21 requests. So the solution is easy, simply batch and throttle the image export requests as we do already in the image comparison tests.

As a bonus, I moved the export test to container 1 after the jasmine tests which should reduce the total test time.

- in an effort to make `npm run test-export` not fail intermittently
  on the (weaker-hardware) CI machines.
- in an effort to reduce image-server "stress" in container 0
- this should also reduce total test time
  as test-jasmine is by far the slowest test command.
@etpinard
Copy link
Contributor Author

@alexcjohnson @monfera this should help ease out the intermittent CI failures.

@alexcjohnson
Copy link
Collaborator

Awesome, lets get this up! 💃

@etpinard etpinard merged commit ca4ab42 into master Mar 16, 2017
@etpinard etpinard deleted the batch-export-tests branch March 16, 2017 23:08
@etpinard
Copy link
Contributor Author

image

2 for 2 so far. Hopefully, this keeps up!

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