mirror of
https://github.com/google/nomulus.git
synced 2025-05-28 13:51:15 +02:00
Record a version of EPP metrics with TLD for domain commands
Also fixes the issue that dry run EPP commands were incorrectly being reported on. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171062984
This commit is contained in:
parent
7e68ffa16a
commit
302a27f0db
13 changed files with 283 additions and 61 deletions
|
@ -206,6 +206,8 @@ public class EppLifecycleDomainTest extends EppTestCase {
|
|||
assertThat(getRecordedEppMetric())
|
||||
.hasClientId("NewRegistrar")
|
||||
.and()
|
||||
.hasNoTld()
|
||||
.and()
|
||||
.hasCommandName("Login")
|
||||
.and()
|
||||
.hasStatus(SUCCESS);
|
||||
|
@ -233,6 +235,8 @@ public class EppLifecycleDomainTest extends EppTestCase {
|
|||
assertThat(getRecordedEppMetric())
|
||||
.hasClientId("NewRegistrar")
|
||||
.and()
|
||||
.hasTld("example")
|
||||
.and()
|
||||
.hasCommandName("DomainDelete")
|
||||
.and()
|
||||
.hasEppTarget("fakesite.example")
|
||||
|
@ -353,6 +357,8 @@ public class EppLifecycleDomainTest extends EppTestCase {
|
|||
.and()
|
||||
.hasEppTarget("rich.example")
|
||||
.and()
|
||||
.hasTld("example")
|
||||
.and()
|
||||
.hasStatus(SUCCESS);
|
||||
|
||||
assertCommandAndResponse("logout.xml", "logout_response.xml");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue