google-nomulus/javatests/google/registry/dns
nickfelt e6ba5687b1 Migrate writeLockTimeout field out of DnsQueue
This makes the usage of DnsQueue.create() safer, since we're no longer
forced to hardcode a copy of the @Config("dnsWriteLockTimeout") value
within that method.  That value is only needed for leaseTasks(), which
is only called in one place (ReadDnsQueueAction), so we can just pass
it in from that callsite.

Also removes an unused overload of leaseTasks() that allowed specifying
a tag, which is a feature we no longer need.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136162491
2016-10-14 17:00:33 -04:00
..
writer Inject RateLimiter in CloudDnsWriter 2016-10-14 16:58:07 -04:00
BUILD Refactor DnsWriter into the model package 2016-08-02 19:10:49 -04:00
DnsInjectionTest.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
DnsQueueTest.java Migrate writeLockTimeout field out of DnsQueue 2016-10-14 17:00:33 -04:00
DnsTestComponent.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
PublishDnsUpdatesActionTest.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
ReadDnsQueueActionTest.java Migrate writeLockTimeout field out of DnsQueue 2016-10-14 17:00:33 -04:00
RefreshDnsActionTest.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00