Be defensive detecting when Mono not running

This commit is contained in:
Phillip Webb 2014-06-25 17:05:28 -07:00
parent b01c1d36ae
commit 8be3f33cfb

View File

@ -59,6 +59,9 @@ public class SampleMongoApplicationTests {
if (root.getMessage().contains("Unable to connect to any server")) {
return true;
}
if (root.getMessage().contains("Timed out while waiting for a server")) {
return true;
}
}
return false;
}