google-nomulus/javatests/google/registry/tools/server
mcilwain 8f456bcf64 Clarify when to use cache (or not) when loading premium lists
You don't want to use the cache when loading them for the purposes of updating
them, but you definitely do still want to use the cache when checking the
price of individual domains.

In [] the cache clearing of premium lists on update was removed. This
is a good thing in aggregate because the cache is per-instance and thus
misleading, but it also caused us to not be able to update the same premium
list twice within an hour because the second update would hit a "PremiumList
was concurrently edited" exception, owing to first loading the stale version
from the cache for the purposes of updating it. Now we bypass the cache for
that purpose.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=197768142
2018-05-30 12:18:54 -04:00
..
testdata Replace domain allocation in the OTE test with "create with dsdata" 2018-04-10 16:30:39 -04:00
BUILD Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
CreateGroupsActionTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
CreatePremiumListActionTest.java Clarify when to use cache (or not) when loading premium lists 2018-05-30 12:18:54 -04:00
DeleteEntityActionTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
GenerateZoneFilesActionTest.java Move tests to use TestDataHelper for reading resources 2018-04-10 16:43:17 -04:00
KillAllCommitLogsActionTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
KillAllEppResourcesActionTest.java Refactor Guava functional methods to use lambdas 2017-12-01 22:14:05 -05:00
ListActionTestCase.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:42:36 -05:00
ListDomainsActionTest.java Add limit to list_domains command 2018-05-17 21:52:35 -04:00
ListHostsActionTest.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
ListPremiumListsActionTest.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
ListRegistrarsActionTest.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
ListReservedListsActionTest.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
ListTldsActionTest.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
PollMapreduceActionTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
RefreshDnsForAllDomainsActionTest.java Add TLDs parameter to refresh DNS action 2017-07-10 11:23:57 -04:00
ResaveAllHistoryEntriesActionTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
ToolsTestData.java Rename all testdata loading files to conform to a single naming scheme 2017-12-01 22:14:06 -05:00
UpdatePremiumListActionTest.java Clarify when to use cache (or not) when loading premium lists 2018-05-30 12:18:54 -04:00
VerifyOteActionTest.java Replace domain allocation in the OTE test with "create with dsdata" 2018-04-10 16:30:39 -04:00