> On April 29, 2014, 8:04 p.m., Bill Farner wrote:
> > src/main/java/org/apache/aurora/scheduler/base/AsyncUtil.java, line 48
> > <https://reviews.apache.org/r/20808/diff/1/?file=569885#file569885line48>
> >
> >     Nice!  To really polish this off, you could accept a Logger to prove 
> > the bug fix in a unit test.
> 
> Maxim Khutornenko wrote:
>     Well, I was trying to avoid just that as most of the current consumers 
> don't declare their own Logger yet. I guess we don't have a better option 
> here.

I should have been more clear, in my head i was thinking of an overload on the 
method, where the default (and typically used) would still use the 
locally-declared logger.  I'm fine with your preference to proceed.


- Bill


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20808/#review41768
-----------------------------------------------------------


On April 29, 2014, 9:07 p.m., Maxim Khutornenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20808/
> -----------------------------------------------------------
> 
> (Updated April 29, 2014, 9:07 p.m.)
> 
> 
> Review request for Aurora and Bill Farner.
> 
> 
> Bugs: AURORA-366
>     https://issues.apache.org/jira/browse/AURORA-366
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Moved ScheduledThreadPoolExecutor creation into AsyncUtil to share across. 
> 
> 
> Diffs
> -----
> 
>   src/main/java/org/apache/aurora/scheduler/SchedulerModule.java 
> 00923723a60866145d481ea505b9a51d0e54832c 
>   src/main/java/org/apache/aurora/scheduler/async/AsyncModule.java 
> 535acd21abda1473c1a364230bbd5b6b92e228bd 
>   src/main/java/org/apache/aurora/scheduler/async/TaskGroups.java 
> 6aff091d9afefc73af666f980ef96acd726aec20 
>   src/main/java/org/apache/aurora/scheduler/base/AsyncUtil.java PRE-CREATION 
>   src/main/java/org/apache/aurora/scheduler/sla/SlaModule.java 
> 0c6a2b8ea40c5459950037bc5683b5072f6731f5 
>   src/main/java/org/apache/aurora/scheduler/stats/AsyncStatsModule.java 
> 6c723393000133452afd841cbaef4dad3c5806b5 
>   src/main/java/org/apache/aurora/scheduler/storage/log/LogStorage.java 
> 5512a447e28d5166681cc7dcc82bf60a5500b162 
>   src/test/java/org/apache/aurora/scheduler/base/AsyncUtilTest.java 
> PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/20808/diff/
> 
> 
> Testing
> -------
> 
> Manual testing via gradle run (any ideas on how to unit test this properly 
> without passing a logger as arg are welcome).
> 
> 
> Thanks,
> 
> Maxim Khutornenko
> 
>

Reply via email to