@Ignore("Failing and don't really know what this test tries to verify")
@Test
public void waitForWorkersOnStopDoesNotDeadlockWithUnfortunatelyTimedDisconnectReceivedByReceiver() throws Exception {
// Ensure no deadlock between Receiver trying to call disconnect() and stop() joining on Receiver.
StubISOChannel channel = new StubISOChannel();
Space space = spy(new TSpace());
ThreadTrap trap = new ThreadTrap(RECEIVER_THREAD_NAME).delegateAfterCatchCall().delegateAfterReleaseCall();
trap.catchVictim().when(space).out(eq(RECONNECT_SPACE_KEY), any(), eq(RECONNECT_DELAY));
trap.release().when(space).out(eq(READY_SPACE_KEY), not(isA(Date.class)));