Update lastEppUpdateTime after certain grace period is passed

The lastEppUpdateTime should be updated asynchronously in the situations below:

 - Implicit transfer success after 5 day pending transfer period
 - Implicit end of any grace period

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=224831791
This commit is contained in:
shicong 2018-12-10 10:00:30 -08:00 committed by jianglai
parent c7fc964d9c
commit 5bc70cbc99
14 changed files with 347 additions and 84 deletions

View file

@ -171,7 +171,8 @@ public class EppLifecycleDomainTest extends EppTestCase {
assertThatCommand("domain_info.xml", ImmutableMap.of("DOMAIN", "example.tld"))
.atTime("2000-08-08T00:00:00Z")
.hasResponse(
"domain_info_response_wildcard.xml", ImmutableMap.of("STATUS", "pendingDelete"));
"domain_info_response_wildcard_after_redemption.xml",
ImmutableMap.of("STATUS", "pendingDelete"));
// Verify that the domain is non-existent (available for registration) later.
assertThatCommand("domain_info.xml", ImmutableMap.of("DOMAIN", "example.tld"))