Tibor Zimányi created DROOLS-748:
------------------------------------
Summary: MultithreadTest.testSlidingTimeWindows() uses unreliable
Thread.sleep(1).
Key: DROOLS-748
URL:
https://issues.jboss.org/browse/DROOLS-748
Project: Drools
Issue Type: Bug
Reporter: Tibor Zimányi
Assignee: Mark Proctor
Priority: Minor
In MultithreadTest classes (there are two of them) method testSlidingTimeWindows() uses
unreliable Thread.sleep(1) call for waiting for fact insertion. Thread.sleep(1)
doesn't wait for exactly 1 millisecond, because there is overhead from thread
scheduler. This overhead can be pretty large in contrast to expected 1ms sleep.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)