You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by pe...@apache.org on 2014/02/23 13:29:32 UTC
svn commit: r1571004 -
/river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/spec/servicediscovery/lookup/LookupMinEqualsMax.java
Author: peter_firmstone
Date: Sun Feb 23 12:29:32 2014
New Revision: 1571004
URL: http://svn.apache.org/r1571004
Log:
Allow a little more time for Solaris, on which two tests failed because the result was returned 9ms after the arbitrary time wait period limit.
The two failing tests:
com_sun_jini_test_spec_servicediscovery_lookup_LookupMinLessMax.td
com_sun_jini_test_spec_servicediscovery_lookup_LookupMinLessMaxFilter.td
Modified:
river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/spec/servicediscovery/lookup/LookupMinEqualsMax.java
Modified: river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/spec/servicediscovery/lookup/LookupMinEqualsMax.java
URL: http://svn.apache.org/viewvc/river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/spec/servicediscovery/lookup/LookupMinEqualsMax.java?rev=1571004&r1=1571003&r2=1571004&view=diff
==============================================================================
--- river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/spec/servicediscovery/lookup/LookupMinEqualsMax.java (original)
+++ river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/spec/servicediscovery/lookup/LookupMinEqualsMax.java Sun Feb 23 12:29:32 2014
@@ -227,6 +227,10 @@ public class LookupMinEqualsMax extends
*
* The limits were changed to allow 300 milliseconds to elapse after the
* wait period completes.
+ *
+ * The limits were changed to allow 500 milliseconds to elapse after the
+ * wait period completes. - 23rd February 2014 P. Firmstone. After
+ * some tests on Solaris failed because they were 9ms overdue.
*
* In addtion Item number 3 below states:
*
@@ -344,7 +348,7 @@ public class LookupMinEqualsMax extends
+waitDur+" millisecond(s), actual "
+"block = "+(actualBlockTime)
+" millisecond(s)");
- } else if(waitError>300) {
+ } else if(waitError>500) {
throw new TestException(" -- exceeded requested block "
+"time -- requested block = "
+waitDur+" millisecond(s), actual "
@@ -353,7 +357,7 @@ public class LookupMinEqualsMax extends
}//endif
} else { //(nExpectedSrvcs>=minMatches)
/* Blocking time will likely be less than the full wait period */
- if(waitError > 300) {
+ if(waitError > 500) {
throw new TestException(" -- blocked longer than expected "
+"-- requested block = "
+ waitDur +" millisecond(s), actual "