mirror of
https://github.com/google/nomulus.git
synced 2025-07-22 02:36:03 +02:00
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:
parent
0634e25822
commit
5a8ef4f0d6
3 changed files with 5 additions and 3 deletions
|
@ -54,7 +54,7 @@ java_library(
|
||||||
GenTestRules(
|
GenTestRules(
|
||||||
name = "GeneratedTestRules",
|
name = "GeneratedTestRules",
|
||||||
default_test_size = "medium",
|
default_test_size = "medium",
|
||||||
shard_count = 3,
|
shard_count = 4,
|
||||||
test_files = glob(["*Test.java"]),
|
test_files = glob(["*Test.java"]),
|
||||||
deps = [":rde"],
|
deps = [":rde"],
|
||||||
)
|
)
|
||||||
|
|
|
@ -35,6 +35,7 @@ import google.registry.testing.BouncyCastleProviderRule;
|
||||||
import google.registry.testing.GcsTestingUtils;
|
import google.registry.testing.GcsTestingUtils;
|
||||||
import google.registry.testing.GpgSystemCommandRule;
|
import google.registry.testing.GpgSystemCommandRule;
|
||||||
import google.registry.testing.Providers;
|
import google.registry.testing.Providers;
|
||||||
|
import google.registry.testing.ShardableTestCase;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileNotFoundException;
|
import java.io.FileNotFoundException;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
@ -53,7 +54,7 @@ import org.junit.runners.JUnit4;
|
||||||
|
|
||||||
/** Unit tests for {@link BrdaCopyAction}. */
|
/** Unit tests for {@link BrdaCopyAction}. */
|
||||||
@RunWith(JUnit4.class)
|
@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
|
private static final ByteSource DEPOSIT_XML = RdeTestData.get("deposit_full.xml"); // 2010-10-17
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@ import static com.google.common.truth.Truth.assertThat;
|
||||||
|
|
||||||
import google.registry.model.registrar.Registrar;
|
import google.registry.model.registrar.Registrar;
|
||||||
import google.registry.testing.AppEngineRule;
|
import google.registry.testing.AppEngineRule;
|
||||||
|
import google.registry.testing.ShardableTestCase;
|
||||||
import google.registry.xml.XmlTestUtils;
|
import google.registry.xml.XmlTestUtils;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
import org.joda.time.format.ISODateTimeFormat;
|
import org.joda.time.format.ISODateTimeFormat;
|
||||||
|
@ -28,7 +29,7 @@ import org.junit.runners.JUnit4;
|
||||||
|
|
||||||
/** Unit tests for {@link RdeMarshaller}. */
|
/** Unit tests for {@link RdeMarshaller}. */
|
||||||
@RunWith(JUnit4.class)
|
@RunWith(JUnit4.class)
|
||||||
public class RdeMarshallerTest {
|
public class RdeMarshallerTest extends ShardableTestCase {
|
||||||
|
|
||||||
private static final String DECLARATION =
|
private static final String DECLARATION =
|
||||||
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n";
|
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue