gatk-3.8/public/java/test/org/broadinstitute/sting/gatk
David Roazen 4d56142163 Detect stuck lock-acquisition calls, and disable file locking for tests
-Acquire file locks in a background thread with a timeout of 30 seconds,
 and throw a UserException if a lock acquisition call times out

    * should solve the locking issue for most people provided they
      RETRY failed farm jobs

    * since we use NON-BLOCKING lock acquisition calls, any call that
      takes longer than a second or two indicates a problem with the
      underlying OS file lock support

    * use daemon threads so that stuck lock acquisition tasks don't
      prevent the JVM from exiting

-Disable both auto-index creation and file locking for integration tests
 via a hidden GATK argument --disable_auto_index_creation_and_locking_when_reading_rods

    * argument not safe for general use, since it allows reading from
      an index file without first acquiring a lock

    * this is fine for the test suite, since all index files already
      exist for test files (or if they don't, they should!)

-Added missing indices for files in private/testdata

-Had to delete most of RMDTrackBuilderUnitTest, since it mostly tested auto-index
 creation, which we can't test with locking disabled, but I replaced the deleted
 tests with some tests of my own.

-Unit test for FSLockWithShared to test the timeout feature
2013-04-24 22:49:02 -04:00
..
datasources Detect stuck lock-acquisition calls, and disable file locking for tests 2013-04-24 22:49:02 -04:00
downsampling Add size() method to Downsampler interface 2013-04-08 15:48:13 -04:00
executive Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
filters Added check in the MalformedReadFilter for reads without stored bases (i.e. that use '*'). 2013-03-14 17:17:26 -04:00
iterators Refactor LIBS into utils.locusiterator before refactoring 2013-01-11 15:17:16 -05:00
refdata Detect stuck lock-acquisition calls, and disable file locking for tests 2013-04-24 22:49:02 -04:00
report Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
samples Updating TestNG to the latest version 2013-02-22 09:40:23 -05:00
traversals Make ActiveRegionTraversal robust to excessive coverage 2013-04-08 15:48:19 -04:00
walkers Several improvements to ReadAdaptorTrimmer so that it can be incorporated into ancient DNA processing pipelines (for which it was developed): 2013-04-13 13:41:36 -04:00
CommandLineGATKUnitTest.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
EngineFeaturesIntegrationTest.java Further tweaking of test timeouts 2013-03-15 14:49:21 -04:00
GenomeAnalysisEngineUnitTest.java Added the functionality to impose a relative ordering on ReadTransformers in the GATK engine. 2013-03-06 12:38:59 -05:00
MaxRuntimeIntegrationTest.java Bump timeout for MaxRuntimeIntegrationTest 2013-03-17 16:17:29 -04:00
WalkerManagerUnitTest.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00