----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/24126/#review49185 -----------------------------------------------------------
src/main/python/apache/aurora/client/api/updater.py <https://reviews.apache.org/r/24126/#comment86043> Nit - this flag is only gated on "if not". Consider inverting the meaning of the flag and don't negate. src/main/python/apache/aurora/client/api/updater.py <https://reviews.apache.org/r/24126/#comment86044> Ditto - gate is always negative. Consider inverting the meaning and return value of the function. src/main/python/apache/aurora/client/api/updater.py <https://reviews.apache.org/r/24126/#comment86045> s/Wait/Waiting/ src/test/python/apache/aurora/client/api/test_updater.py <https://reviews.apache.org/r/24126/#comment86050> Can you add two more test cases with batch_size > 1: - instances % batch_size == 0 - instances % batch_size != 0 - Bill Farner On July 30, 2014, 11:59 p.m., Maxim Khutornenko wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/24126/ > ----------------------------------------------------------- > > (Updated July 30, 2014, 11:59 p.m.) > > > Review request for Aurora, Kevin Sweeney, Bill Farner, and Brian Wickman. > > > Bugs: AURORA-626 > https://issues.apache.org/jira/browse/AURORA-626 > > > Repository: aurora > > > Description > ------- > > Adding a wait_for_batch_completion option into parallel updater. > > > Diffs > ----- > > src/main/python/apache/aurora/client/api/updater.py > 05b4c0c76ac2a8551f3aa370ab487f9f0802c3dc > src/main/python/apache/aurora/client/api/updater_util.py > c5f8f23912701568e1ee6b69186a533fdd29a5d7 > src/main/python/apache/aurora/config/schema/base.py > 3b90ccb33e6ffef9e14befd42d95b8b8a94e949b > src/test/python/apache/aurora/client/api/test_updater.py > 7020712c9f0b33ec29646482517768ccb13e881f > > Diff: https://reviews.apache.org/r/24126/diff/ > > > Testing > ------- > > ./pants src/test/python:all > > > Thanks, > > Maxim Khutornenko > >