Reason: On Windows you cannot delete files in use.
In this test.. The cleanup during teardown() is throwing an exception as it is not able delete one of the Zookeeper log files.
Fix: Ideally the fix otherwise belongs in the zookeeper.close() which to close file handles properly. But till that happens using deleteQuietly() in stopZookeeper() is a workaround in Flume.