| 48 | } |
| 49 | |
| 50 | void testErrorConditions() { |
| 51 | // Resolve a rubbish ip and make sure initialization failed |
| 52 | StatsdClient client{"256.256.256.256", 8125, "myPrefix", 20}; |
| 53 | throwOnError(client, false, "Should not be able to resolve a ridiculous ip"); |
| 54 | } |
| 55 | |
| 56 | void testReconfigure() { |
| 57 | StatsdServer server; |