SpringSource/spring-integration — pull request #423 by garyrussell (2012-05-08 18:36:23+00:00)
Title: INT-2519 Fix Failing Test

Depending on timing, it was possible the event the test
case was waiting for would never happen. With no timeout
the selector will block until the next IO event occurs,
and there is none in this test.

Adding a call to factory.close() forces a wakeup of
the selector, which will force the harvest to occur.

This is a test-only problem.