Skip to content

Commit bbd407a

Browse files
committed
Updating region to a whitelisted one
1 parent 4242947 commit bbd407a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

services/kinesis/src/it/java/software/amazon/awssdk/services/kinesis/SubscribeToShardIntegrationTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ public class SubscribeToShardIntegrationTest {
4747
@Before
4848
public void setup() throws InterruptedException {
4949
client = KinesisAsyncClient.builder()
50-
// TODO credentials and region (whitelisting)
51-
.credentialsProvider(ProfileCredentialsProvider.create("justin-kinesis"))
52-
.region(Region.US_EAST_2)
50+
.region(Region.EU_CENTRAL_1)
5351
.build();
5452
client.createStream(r -> r.streamName(STREAM_NAME)
5553
.shardCount(4)).join();

0 commit comments

Comments
 (0)