Author: lfryc(a)redhat.com
Date: 2010-09-17 03:57:19 -0400 (Fri, 17 Sep 2010)
New Revision: 19230
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jQueue/QueueModel.java
Log:
max deviation for particular request setup to requestDelay/2
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jQueue/QueueModel.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jQueue/QueueModel.java 2010-09-17
07:56:40 UTC (rev 19229)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jQueue/QueueModel.java 2010-09-17
07:57:19 UTC (rev 19230)
@@ -138,7 +138,7 @@
long beginTime = waitAjax.waitForChangeAndReturn(retrieveBeginTime);
long actualDelay = beginTime - eventTime;
long deviation = Math.abs(actualDelay - requestDelay);
- long maxDeviation = Math.max(100, requestDelay);
+ long maxDeviation = Math.max(100, requestDelay / 2);
checkDeviation(deviation, maxDeviation);
Show replies by date