markobean commented on PR #6506:
URL: https://github.com/apache/nifi/pull/6506#issuecomment-1309455563

   @exceptionfactory The time period cannot be reduced to 500 ms. The validator 
requires a minimum value of 1 sec. This is because the exact rate becomes less 
accurate the smaller the time period, especially once in sub-second range (and 
made worse on a busy system.) In order to change the unit tests to a smaller 
value, the validator would have to change. I do not think that is an advisable 
approach - to allow configurations which could mislead users in terms of 
accuracy for the sake of shortening unit tests. In order to test properly, the 
sleep time is a necessary evil.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to