diff --git a/TestFile.txt b/TestFile.txt new file mode 100644 index 000000000..3aaccafca --- /dev/null +++ b/TestFile.txt @@ -0,0 +1,2 @@ +This is a test file. +Maybe this will change your mind? diff --git a/gradle/core/build.gradle b/gradle/core/build.gradle index 2b6eeae59..524d0136f 100644 --- a/gradle/core/build.gradle +++ b/gradle/core/build.gradle @@ -609,6 +609,8 @@ test { // This setting makes the build take 35 minutes, without it it takes about 10. // forkEvery 1 + forkEvery 1 + // Sets the maximum number of test executors that may exist at the same time. maxParallelForks 5 diff --git a/javatests/google/registry/tools/CreateTldCommandTest.java b/javatests/google/registry/tools/CreateTldCommandTest.java index 856cdfcd4..c71d16951 100644 --- a/javatests/google/registry/tools/CreateTldCommandTest.java +++ b/javatests/google/registry/tools/CreateTldCommandTest.java @@ -98,6 +98,18 @@ public class CreateTldCommandTest extends CommandTestCase { assertThat(thrown).hasMessageThat().contains("Can't create more than one TLD at a time"); } + @Test + public void testSuccess_initialRenewBillingCostFlag() throws Exception { + runCommandForced( + "--initial_renew_billing_cost=\"USD 42.42\"", + "--roid_suffix=Q9JYB4C", + "--dns_writers=VoidDnsWriter", + "xn--q9jyb4c"); + + assertThat(Registry.get("xn--q9jyb4c").getStandardRenewCost(DateTime.now(UTC))) + .isEqualTo(Money.of(USD, 42.42)); + } + @Test public void testSuccess_initialTldStateFlag() throws Exception { runCommandForced( @@ -106,18 +118,7 @@ public class CreateTldCommandTest extends CommandTestCase { "--dns_writers=VoidDnsWriter", "xn--q9jyb4c"); assertThat(Registry.get("xn--q9jyb4c").getTldState(DateTime.now(UTC))) - .isEqualTo(GENERAL_AVAILABILITY); - } - - @Test - public void testSuccess_initialRenewBillingCostFlag() throws Exception { - runCommandForced( - "--initial_renew_billing_cost=\"USD 42.42\"", - "--roid_suffix=Q9JYB4C", - "--dns_writers=VoidDnsWriter", - "xn--q9jyb4c"); - assertThat(Registry.get("xn--q9jyb4c").getStandardRenewCost(DateTime.now(UTC))) - .isEqualTo(Money.of(USD, 42.42)); + .isEqualTo(TldState.GENERAL_AVAILABILITY); } @Test diff --git a/test.txt b/test.txt new file mode 100644 index 000000000..3ffc5c843 --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +This is a test file to trigger a build on travis.