Reviewed: https://review.openstack.org/305528 Committed: https://git.openstack.org/cgit/openstack-infra/yaml2ical/commit/?id=cd1f4760dfd39268ae90fd4fd2a9bc654f34b95d Submitter: Jenkins Branch: master
commit cd1f4760dfd39268ae90fd4fd2a9bc654f34b95d Author: John L. Villalovos <email address hidden> Date: Wed Apr 13 16:53:36 2016 -0700
Fix off by 1 error in batch_messages & add unit tests
Fix an off by one error in the batch_messages function. And add some unit tests for the batch_messages function.
Also handle if batch_size is less than or equal to zero. In that case just return the input messages.
Change-Id: Id7be110379c212104fba70588b647dfd3a13e765 Closes-Bug: #1570446
Reviewed: https:/ /review. openstack. org/305528 /git.openstack. org/cgit/ openstack- infra/yaml2ical /commit/ ?id=cd1f4760dfd 39268ae90fd4fd2 a9bc654f34b95d
Committed: https:/
Submitter: Jenkins
Branch: master
commit cd1f4760dfd3926 8ae90fd4fd2a9bc 654f34b95d
Author: John L. Villalovos <email address hidden>
Date: Wed Apr 13 16:53:36 2016 -0700
Fix off by 1 error in batch_messages & add unit tests
Fix an off by one error in the batch_messages function. And add some
unit tests for the batch_messages function.
Also handle if batch_size is less than or equal to zero. In that case
just return the input messages.
Change-Id: Id7be110379c212 104fba70588b647 dfd3a13e765
Closes-Bug: #1570446