From 6604b5599ff81cf3a7adf615a6d1562ebb0bef89 Mon Sep 17 00:00:00 2001 From: Lai Jiang Date: Tue, 8 Jun 2021 00:40:58 -0400 Subject: [PATCH] Fix a few test annotations (#1196) --- .../batch/ExpandRecurringBillingEventsActionTest.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/src/test/java/google/registry/batch/ExpandRecurringBillingEventsActionTest.java b/core/src/test/java/google/registry/batch/ExpandRecurringBillingEventsActionTest.java index 4d411d049..9d240a1b1 100644 --- a/core/src/test/java/google/registry/batch/ExpandRecurringBillingEventsActionTest.java +++ b/core/src/test/java/google/registry/batch/ExpandRecurringBillingEventsActionTest.java @@ -60,7 +60,6 @@ import google.registry.testing.InjectExtension; import google.registry.testing.ReplayExtension; import google.registry.testing.TestOfyAndSql; import google.registry.testing.TestOfyOnly; -import google.registry.testing.TestSqlOnly; import google.registry.testing.mapreduce.MapreduceTestCase; import java.util.ArrayList; import java.util.List; @@ -277,7 +276,7 @@ public class ExpandRecurringBillingEventsActionTest assertBillingEventsForResource(domain, persisted, recurring); } - @TestSqlOnly + @TestOfyAndSql void testSuccess_expandSingleEvent_notIdempotentForDifferentBillingTime() throws Exception { persistResource(recurring); action.cursorTimeParam = Optional.of(START_OF_TIME); @@ -644,7 +643,7 @@ public class ExpandRecurringBillingEventsActionTest assertCursorAt(currentTestTime); } - @TestSqlOnly + @TestOfyAndSql void testSuccess_expandMultipleEvents() throws Exception { persistResource(recurring); BillingEvent.Recurring recurring2 =