Skip to content

Commit

Permalink
CAMEL-15153: fixing KinesisConsumerClosedShardWithFailTest
Browse files Browse the repository at this point in the history
  • Loading branch information
jonchase authored and oscerd committed Jun 6, 2020
1 parent 466ffd3 commit 16ef060
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.apache.camel.CamelContext;
import org.apache.camel.impl.DefaultCamelContext;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.ArgumentCaptor;
import org.mockito.Mock;
Expand Down Expand Up @@ -95,6 +96,6 @@ public void itObtainsAShardIteratorOnFirstPoll() throws Exception {
verify(kinesisClient).getShardIterator(getShardIteratorReqCap.capture());
assertThat(getShardIteratorReqCap.getValue().streamName(), is("streamName"));
assertThat(getShardIteratorReqCap.getValue().shardId(), is("shardId"));
assertThat(getShardIteratorReqCap.getValue().shardIteratorType(), is("LATEST"));
assertThat(getShardIteratorReqCap.getValue().shardIteratorType(), is(ShardIteratorType.LATEST));
}
}

0 comments on commit 16ef060

Please sign in to comment.