Author: peter_firmstone Date: Thu Mar 14 13:55:02 2013 New Revision: 1456438
URL: http://svn.apache.org/r1456438 Log: Lease slop in tests was a factor of 10 greater than that recommended in test documentation, in some cases the slop duration was half the requested lease duration. I've reduced slop closer to the recommended default, reduced by a factor of 10. Modified: river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/LeaseGrantTestBase.java river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseNotifyLeaseTestShutdown.td river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseTxnMgrSpaceLeaseTestCancel.td river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseTxnMgrSpaceLeaseTestRenew.td river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseTxnMgrSpaceLeaseTestRenewCancel.td Modified: river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/LeaseGrantTestBase.java URL: http://svn.apache.org/viewvc/river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/LeaseGrantTestBase.java?rev=1456438&r1=1456437&r2=1456438&view=diff ============================================================================== --- river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/LeaseGrantTestBase.java (original) +++ river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/LeaseGrantTestBase.java Thu Mar 14 13:55:02 2013 @@ -201,7 +201,7 @@ public abstract class LeaseGrantTestBase super.parse(); exact = getConfig().getBooleanConfigVal("com.sun.jini.test.share.exact", false); clip = getConfig().getLongConfigVal("com.sun.jini.test.share.clip", -1); - slop = getConfig().getLongConfigVal("com.sun.jini.test.share.slop", 10000); + slop = getConfig().getLongConfigVal("com.sun.jini.test.share.slop", 1000); final String durStr = getConfig().getStringConfigVal("com.sun.jini.test.share.duration", null); if (durStr == null) { Modified: river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseNotifyLeaseTestShutdown.td URL: http://svn.apache.org/viewvc/river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseNotifyLeaseTestShutdown.td?rev=1456438&r1=1456437&r2=1456438&view=diff ============================================================================== --- river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseNotifyLeaseTestShutdown.td (original) +++ river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseNotifyLeaseTestShutdown.td Thu Mar 14 13:55:02 2013 @@ -5,4 +5,4 @@ include0=../outrigger.properties com.sun.jini.test.share.exact=true com.sun.jini.test.share.shutdownTime=4000 com.sun.jini.test.share.restartSleep=1000 -com.sun.jini.test.share.slop=20000 +com.sun.jini.test.share.slop=2000 Modified: river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseTxnMgrSpaceLeaseTestCancel.td URL: http://svn.apache.org/viewvc/river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseTxnMgrSpaceLeaseTestCancel.td?rev=1456438&r1=1456437&r2=1456438&view=diff ============================================================================== --- river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseTxnMgrSpaceLeaseTestCancel.td (original) +++ river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseTxnMgrSpaceLeaseTestCancel.td Thu Mar 14 13:55:02 2013 @@ -4,5 +4,5 @@ include0=../outrigger.properties com.sun.jini.test.share.exact=true com.sun.jini.test.share.cancel=true -com.sun.jini.test.share.cancel_slop=10000 -com.sun.jini.test.share.slop=30000 +com.sun.jini.test.share.cancel_slop=1000 +com.sun.jini.test.share.slop=3000 Modified: river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseTxnMgrSpaceLeaseTestRenew.td URL: http://svn.apache.org/viewvc/river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseTxnMgrSpaceLeaseTestRenew.td?rev=1456438&r1=1456437&r2=1456438&view=diff ============================================================================== --- river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseTxnMgrSpaceLeaseTestRenew.td (original) +++ river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseTxnMgrSpaceLeaseTestRenew.td Thu Mar 14 13:55:02 2013 @@ -4,4 +4,4 @@ include0=../outrigger.properties com.sun.jini.test.share.exact=true com.sun.jini.test.share.renew=2 -com.sun.jini.test.share.slop=30000 +com.sun.jini.test.share.slop=3000 Modified: river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseTxnMgrSpaceLeaseTestRenewCancel.td URL: http://svn.apache.org/viewvc/river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseTxnMgrSpaceLeaseTestRenewCancel.td?rev=1456438&r1=1456437&r2=1456438&view=diff ============================================================================== --- river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseTxnMgrSpaceLeaseTestRenewCancel.td (original) +++ river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/impl/outrigger/leasing/UseTxnMgrSpaceLeaseTestRenewCancel.td Thu Mar 14 13:55:02 2013 @@ -5,5 +5,5 @@ include0=../outrigger.properties com.sun.jini.test.share.exact=true com.sun.jini.test.share.cancel=true com.sun.jini.test.share.renew=2 -com.sun.jini.test.share.cancel_slop=10000 -com.sun.jini.test.share.slop=30000 +com.sun.jini.test.share.cancel_slop=1000 +com.sun.jini.test.share.slop=3000
