kijiproject/kiji-schema — pull request #21 by kimballa (2012-12-15 12:55:45+00:00)
Title: SCHEMA-71. Close leaking scanners in tests.

IntegrationTestKijiTableOutputFormat opens scanner resources that are not
closed.

Related to this, our log4j.properties file on the test classpath was not
using the DEBUG level for classes that print c'tor stacktraces in leaking
finalizers.

Turning on the DEBUG level for all of org.kiji.schema is too noisy on stderr,
because of the KijiCreation/DeletionThreads. But we can selectively create
separate loggers used by the finalizer cleanup check code; these loggers
are now enabled in debug mode during tests.

This is tested with mvn verify.