mirror of
https://github.com/google/nomulus.git
synced 2025-08-02 07:52:11 +02:00
Reduce mapreduce shards in tests
This fixes a significant memory consumption issue when running tests. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129482832
This commit is contained in:
parent
1ef8716177
commit
92fa0d6781
5 changed files with 5 additions and 5 deletions
|
@ -71,7 +71,7 @@ public class ExpandRecurringBillingEventsActionTest
|
|||
@Before
|
||||
public void init() {
|
||||
action = new ExpandRecurringBillingEventsAction();
|
||||
action.mrRunner = new MapreduceRunner(Optional.<Integer>absent(), Optional.<Integer>absent());
|
||||
action.mrRunner = new MapreduceRunner(Optional.<Integer>of(5), Optional.<Integer>absent());
|
||||
action.clock = clock;
|
||||
action.cursorTimeParam = Optional.absent();
|
||||
createTld("tld");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue