mirror of
https://github.com/google/nomulus
synced 2026-09-28 10:45:36 +00:00
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:
@@ -456,7 +456,7 @@ public class WhoisServerTest {
|
||||
server.run();
|
||||
WhoisMetric expected =
|
||||
WhoisMetric.builderForRequest(clock)
|
||||
.setCommandName("NameserverLookupByIpCommand")
|
||||
.setCommandName("NameserverLookupByIp")
|
||||
.setNumResults(2)
|
||||
.setStatus(SC_OK)
|
||||
.build();
|
||||
@@ -470,7 +470,7 @@ public class WhoisServerTest {
|
||||
server.run();
|
||||
WhoisMetric expected =
|
||||
WhoisMetric.builderForRequest(clock)
|
||||
.setCommandName("DomainLookupCommand")
|
||||
.setCommandName("DomainLookup")
|
||||
.setNumResults(0)
|
||||
.setStatus(SC_NOT_FOUND)
|
||||
.build();
|
||||
|
||||
Reference in New Issue
Block a user