Bump RDE test shard count to 4 to help address timeout issues

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=138786071
This commit is contained in:
mcilwain 2016-11-10 11:46:10 -08:00 committed by Ben McIlwain
parent 0634e25822
commit 5a8ef4f0d6
3 changed files with 5 additions and 3 deletions

View file

@ -54,7 +54,7 @@ java_library(
GenTestRules(
name = "GeneratedTestRules",
default_test_size = "medium",
shard_count = 3,
shard_count = 4,
test_files = glob(["*Test.java"]),
deps = [":rde"],
)

View file

@ -35,6 +35,7 @@ import google.registry.testing.BouncyCastleProviderRule;
import google.registry.testing.GcsTestingUtils;
import google.registry.testing.GpgSystemCommandRule;
import google.registry.testing.Providers;
import google.registry.testing.ShardableTestCase;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
@ -53,7 +54,7 @@ import org.junit.runners.JUnit4;
/** Unit tests for {@link BrdaCopyAction}. */
@RunWith(JUnit4.class)
public class BrdaCopyActionTest {
public class BrdaCopyActionTest extends ShardableTestCase {
private static final ByteSource DEPOSIT_XML = RdeTestData.get("deposit_full.xml"); // 2010-10-17

View file

@ -18,6 +18,7 @@ import static com.google.common.truth.Truth.assertThat;
import google.registry.model.registrar.Registrar;
import google.registry.testing.AppEngineRule;
import google.registry.testing.ShardableTestCase;
import google.registry.xml.XmlTestUtils;
import org.joda.time.DateTime;
import org.joda.time.format.ISODateTimeFormat;
@ -28,7 +29,7 @@ import org.junit.runners.JUnit4;
/** Unit tests for {@link RdeMarshaller}. */
@RunWith(JUnit4.class)
public class RdeMarshallerTest {
public class RdeMarshallerTest extends ShardableTestCase {
private static final String DECLARATION =
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n";