Don't include "Command" suffix in WHOIS metrics command name label

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=152414152
This commit is contained in:
mcilwain
2017-04-10 13:46:21 -04:00
committed by Ben McIlwain
parent 5081d780dc
commit 08009e755f
3 changed files with 6 additions and 4 deletions
@@ -352,7 +352,7 @@ public class WhoisHttpServerTest {
server.run();
WhoisMetric expected =
WhoisMetric.builderForRequest(clock)
.setCommandName("NameserverLookupByHostCommand")
.setCommandName("NameserverLookupByHost")
.setNumResults(1)
.setStatus(SC_OK)
.build();