diff --git a/javatests/google/registry/flows/BUILD b/javatests/google/registry/flows/BUILD index b1db6414c..6f45e5b25 100644 --- a/javatests/google/registry/flows/BUILD +++ b/javatests/google/registry/flows/BUILD @@ -66,6 +66,7 @@ java_library( # sixty seconds, then shard_count should be tuned. You can binary search for a # good value that balances time reduction with environmental impact. However, # any unit test that contains fewer @Test methods than the shard count will +# need to be updated to add dummy methods, otherwise blaze will lose its mind. # If you grep for testNothing you can find the existing dummy methods. GenTestRules( name = "GeneratedTestRules", diff --git a/javatests/google/registry/rdap/RdapDomainSearchActionTest.java b/javatests/google/registry/rdap/RdapDomainSearchActionTest.java index a6c326a68..2c8905d4c 100644 --- a/javatests/google/registry/rdap/RdapDomainSearchActionTest.java +++ b/javatests/google/registry/rdap/RdapDomainSearchActionTest.java @@ -475,6 +475,7 @@ public class RdapDomainSearchActionTest { public void testDomainMatchWithWildcardAndEmptySuffix_fails() throws Exception { // Unfortunately, we can't be sure which error is going to be returned. The version of // IDN.toASCII used in Eclipse drops a trailing dot, if any. But the version linked in by + // Blaze throws an error in that situation. So just check that it returns an error. generateActualJson(RequestType.NAME, "exam*.."); assertThat(response.getStatus()).isIn(Range.closed(400, 499)); } @@ -551,7 +552,7 @@ public class RdapDomainSearchActionTest { } persistResources(domainsBuilder.build()); } - + private Object readMultiDomainFile( String fileName, String domainName1, @@ -987,7 +988,7 @@ public class RdapDomainSearchActionTest { .isEqualTo(generateExpectedJson("No domains found", null, null, "rdap_error_404.json")); assertThat(response.getStatus()).isEqualTo(404); } - + @Test public void testAddressMatch_nontruncatedResultsSet() throws Exception { createManyDomainsAndHosts(4, 1, 2);