Author: lfryc(a)redhat.com
Date: 2010-11-05 11:18:00 -0400 (Fri, 05 Nov 2010)
New Revision: 19965
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jPoll/TestInterval.java
Log:
a4j:poll - TestInterval - interval deviation increased from one to two intervals (the
validation of functionality itself is in validateAverageDeviation()
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jPoll/TestInterval.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jPoll/TestInterval.java 2010-11-05
15:17:18 UTC (rev 19964)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jPoll/TestInterval.java 2010-11-05
15:18:00 UTC (rev 19965)
@@ -143,8 +143,8 @@
System.out.println(format("deviation for interval {0}: {1}",
interval, deviation));
}
- assertTrue(deviation <= interval,
- format("Deviation ({0}) is greater than one interval {1}",
deviation, interval));
+ assertTrue(deviation <= (2 * interval),
+ format("Deviation ({0}) is greater than two intervals (2 * {1})",
deviation, interval));
deviationTotal += deviation;
deviationCount += 1;
Show replies by date