This commit is contained in:
Phillip Webb
2013-11-15 23:37:38 -08:00
parent 127da15c3c
commit 883fd9162f
22 changed files with 72 additions and 88 deletions

View File

@@ -39,8 +39,8 @@ public class SampleMongoApplicationTests {
public void testDefaultSettings() throws Exception {
try {
SampleMongoApplication.main(new String[0]);
} catch (IllegalStateException e) {
if (serverNotRunning(e)) {
} catch (IllegalStateException ex) {
if (serverNotRunning(ex)) {
return;
}
}