MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / testErrorConditions

Function testErrorConditions

deps/cpp-statsd-client/tests/testStatsdClient.cpp:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void 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
56void testReconfigure() {
57 StatsdServer server;

Callers 1

mainFunction · 0.85

Calls 1

throwOnErrorFunction · 0.85

Tested by

no test coverage detected