public void test_singleResourceLocking_lowConcurrency5() throws Exception {
  Properties properties=new Properties();
  properties.setProperty(TestOptions.NTHREADS,"5");
  properties.setProperty(TestOptions.NTASKS,"1000");
  properties.setProperty(TestOptions.NRESOURCES,"100");
  properties.setProperty(TestOptions.MIN_LOCKS,"1");
  properties.setProperty(TestOptions.MAX_LOCKS,"1");
  properties.setProperty(TestOptions.PREDECLARE_LOCKS,"false");
  properties.setProperty(TestOptions.SORT_LOCK_REQUESTS,"false");
  doComparisonTest(properties);
}

public void test_singleResourceLocking_lowConcurrency5 ( ) throws Exception { Properties properties = new Properties ( ) ; properties . setProperty ( TestOptions . NTHREADS , "5" ) ; properties . setProperty ( TestOptions . NTASKS , "1000" ) ; properties . setProperty ( TestOptions . NRESOURCES , "100" ) ; properties . setProperty ( TestOptions . MIN_LOCKS , "1" ) ; properties . setProperty ( TestOptions . MAX_LOCKS , "1" ) ; properties . setProperty ( TestOptions . PREDECLARE_LOCKS , "false" ) ; properties . setProperty ( TestOptions . SORT_LOCK_REQUESTS , "false" ) ; doComparisonTest ( properties ) ; }
test where each operation locks only a single resource ( low concurrency condition w / 5 threads ) .
