INTSAMPLES-102 - Fix intermittently failing tests

Reference: https://jira.springsource.org/browse/INTSAMPLES-102
This commit is contained in:
Gunnar Hillert
2013-01-10 17:29:11 -05:00
parent 7928871386
commit f6e4f4d734
4 changed files with 9 additions and 2 deletions

View File

@@ -54,6 +54,7 @@ public class FtpInboundChannelAdapterSample {
assertNotNull(message2);
assertNull("Was NOT expecting a third message.", message3);
ctx.close();
}
}

View File

@@ -66,6 +66,7 @@ public class FtpOutboundGatewaySample {
assertTrue("Expected FTP remote directory to be empty", new File(TestSuite.FTP_ROOT_DIR).delete());
ctx.close();
}
}