greyp9 commented on code in PR #6671:
URL: https://github.com/apache/nifi/pull/6671#discussion_r1029542020
##########
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestControlRate.java:
##########
@@ -86,18 +97,18 @@ public void testFileCountRate() throws InterruptedException
{
runner.assertQueueNotEmpty();
// we have sent 3 files and after 1 second, we should be able to send
the 4th
- Thread.sleep(ONE_SEC_PLUS);
- runner.run();
+ incrementCurrentTime();
+
+ runner.run(5);
Review Comment:
Did you find that multiple iterations were needed sometimes?
--
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]