Skip to content

Commit e559e1d

Browse files
committed
lint
Signed-off-by: Shijie Sheng <[email protected]>
1 parent 46f9e19 commit e559e1d

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

src/test/java/com/uber/cadence/internal/replay/DecisionEventsIteratorTest.java

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ public void testWorkflowWithActivityCompleted() {
155155
new HistoryHelper.DecisionEventsIterator(
156156
mockDecisionTaskWithHistoryIterator, REPLAY_TIME_MILLIS);
157157

158-
159158
// first decision batch
160159
HistoryHelper.DecisionEvents decisionEvents = iterator.next();
161160
assertNotNull(decisionEvents);
@@ -179,17 +178,17 @@ public void testCompletedWorkflow() {
179178
// Arrange - Non-replay scenario
180179
List<HistoryEvent> events =
181180
Arrays.asList(
182-
createHistoryEvent(1, EventType.WorkflowExecutionStarted, EVENT_TIMESTAMP_NANOS),
183-
createHistoryEvent(2, EventType.DecisionTaskScheduled, EVENT_TIMESTAMP_NANOS),
184-
createHistoryEvent(3, EventType.DecisionTaskStarted, EVENT_TIMESTAMP_NANOS),
185-
createHistoryEvent(4, EventType.DecisionTaskCompleted, EVENT_TIMESTAMP_NANOS),
186-
createHistoryEvent(5, EventType.ActivityTaskScheduled, EVENT_TIMESTAMP_NANOS),
187-
createHistoryEvent(6, EventType.ActivityTaskStarted, EVENT_TIMESTAMP_NANOS),
188-
createHistoryEvent(7, EventType.ActivityTaskCompleted, EVENT_TIMESTAMP_NANOS),
189-
createHistoryEvent(8, EventType.DecisionTaskScheduled, EVENT_TIMESTAMP_NANOS),
190-
createHistoryEvent(9, EventType.DecisionTaskStarted, EVENT_TIMESTAMP_NANOS),
191-
createHistoryEvent(10, EventType.DecisionTaskCompleted, EVENT_TIMESTAMP_NANOS),
192-
createHistoryEvent(11, EventType.WorkflowExecutionCompleted, EVENT_TIMESTAMP_NANOS));
181+
createHistoryEvent(1, EventType.WorkflowExecutionStarted, EVENT_TIMESTAMP_NANOS),
182+
createHistoryEvent(2, EventType.DecisionTaskScheduled, EVENT_TIMESTAMP_NANOS),
183+
createHistoryEvent(3, EventType.DecisionTaskStarted, EVENT_TIMESTAMP_NANOS),
184+
createHistoryEvent(4, EventType.DecisionTaskCompleted, EVENT_TIMESTAMP_NANOS),
185+
createHistoryEvent(5, EventType.ActivityTaskScheduled, EVENT_TIMESTAMP_NANOS),
186+
createHistoryEvent(6, EventType.ActivityTaskStarted, EVENT_TIMESTAMP_NANOS),
187+
createHistoryEvent(7, EventType.ActivityTaskCompleted, EVENT_TIMESTAMP_NANOS),
188+
createHistoryEvent(8, EventType.DecisionTaskScheduled, EVENT_TIMESTAMP_NANOS),
189+
createHistoryEvent(9, EventType.DecisionTaskStarted, EVENT_TIMESTAMP_NANOS),
190+
createHistoryEvent(10, EventType.DecisionTaskCompleted, EVENT_TIMESTAMP_NANOS),
191+
createHistoryEvent(11, EventType.WorkflowExecutionCompleted, EVENT_TIMESTAMP_NANOS));
193192
when(mockDecisionTaskWithHistoryIterator.getHistory()).thenReturn(events.iterator());
194193

195194
// Act

0 commit comments

Comments
 (0)