SpringSource/spring-integration — pull request #428 by garyrussell (2012-05-08 19:27:29+00:00)
Title: INT-2519 Fix Failing Test 2.0.x Backport

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.