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

Change to "greater than" for limit on number of elements #386

Merged
merged 1 commit into from
Dec 18, 2018
Merged

Change to "greater than" for limit on number of elements #386

merged 1 commit into from
Dec 18, 2018

Conversation

wyardley
Copy link
Contributor

Fixes #149

  • Tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 17, 2018
@wyardley
Copy link
Contributor Author

This is basically the fix described by @funkswing, with an updated test to get the tests passing (basically, now that we're looking for > 7 vs >= 7, the # of elements in that array has to increase by one).

@@ -704,7 +704,7 @@ describe('Executor', () => {
expect(Object.keys(executor._tasks).length).to.eq(0);

executor.schedule(
spy, {field1: [1, 2, 3, 4, 5, 6, 7], field2: 'id'}, err => {
spy, {field1: [1, 2, 3, 4, 5, 6, 7, 8], field2: 'id'}, err => {

This comment was marked as spam.

@alexander-fenster alexander-fenster added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 18, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 18, 2018
@JustinBeckwith JustinBeckwith merged commit 8c2a01b into googleapis:master Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants