Code review comment for ~dashmage/charm-logrotated:bug-2019990/random-time-cronjob

Revision history for this message
Eric Chen (eric-chen) wrote (last edit ):

Please check my inline comment.

I also put my thought in summary:

1. unit test of a function should cover the corner case, no matter it is possible or impossible under current program logic. We should clear define the expected behavior under normal situation and abnormal situation.

2. prove "all the possibility values could be generated from the functions" is valuable and the implementation is not too complicated compare to current version

review: Needs Fixing

« Back to merge proposal