Skip to content

Commit b1cc5a3

Browse files
authored
Update testStatsdClient.cpp
1 parent 4f57c4b commit b1cc5a3

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

tests/testStatsdClient.cpp

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -53,29 +53,6 @@ void testErrorConditions() {
5353
throwOnError(client, false, "Should not be able to resolve a ridiculous ip");
5454
}
5555

56-
void testReconfigure() {
57-
StatsdServer server;
58-
throwOnError(server);
59-
60-
StatsdClient client("localhost", 8125, "first.");
61-
client.increment("foo");
62-
throwOnWrongMessage(server, "first.foo:1|c");
63-
64-
client.setConfig("localhost", 8125, "second");
65-
client.increment("bar");
66-
throwOnWrongMessage(server, "second.bar:1|c");
67-
68-
client.setConfig("localhost", 8125, "");
69-
client.increment("third.baz");
70-
throwOnWrongMessage(server, "third.baz:1|c");
71-
72-
client.increment("");
73-
throwOnWrongMessage(server, ":1|c");
74-
75-
// TODO: test what happens with the batching after resolving the question about incomplete
76-
// batches being dropped vs sent on reconfiguring
77-
}
78-
7956
void testSendRecv(uint64_t batchSize, uint64_t sendInterval) {
8057
StatsdServer mock_server;
8158
std::vector<std::string> messages, expected;

0 commit comments

Comments
 (0)