mirror of
https://github.com/google/nomulus
synced 2026-01-06 05:27:13 +00: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:
committed by
Justine Tunney
parent
1ef8716177
commit
92fa0d6781
@@ -74,7 +74,7 @@ public class DeleteProberDataActionTest extends MapreduceTestCase<DeleteProberDa
|
||||
persistResource(Registry.get("oa-canary.test").asBuilder().setTldType(TldType.TEST).build());
|
||||
|
||||
action = new DeleteProberDataAction();
|
||||
action.mrRunner = new MapreduceRunner(Optional.<Integer>absent(), Optional.<Integer>absent());
|
||||
action.mrRunner = new MapreduceRunner(Optional.<Integer>of(5), Optional.<Integer>absent());
|
||||
action.response = new FakeResponse();
|
||||
action.isDryRun = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user