Use default LocalStack ports

According to https://github.com/localstack/localstack,
DynamoDB listens at `4569` by default, and Kinesis listens at `4568`
 by default.

Aligning with that setup means that it is simpler to run these tests
without having to tune the LocalStack ports.

See also: https://github.com/spring-cloud/spring-cloud-stream-binder-aws-kinesis/pull/64
This commit is contained in:
Artem Bilan
2018-10-08 10:27:09 -04:00
parent ed89f1243f
commit 0ea00784f0
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ import com.amazonaws.services.dynamodbv2.AmazonDynamoDBAsyncClientBuilder;
*/
public final class DynamoDbLocalRunning extends TestWatcher {
public static final int DEFAULT_PORT = 4568;
public static final int DEFAULT_PORT = 4569;
private static Log logger = LogFactory.getLog(DynamoDbLocalRunning.class);

View File

@@ -48,7 +48,7 @@ import com.amazonaws.services.kinesis.AmazonKinesisAsyncClientBuilder;
*/
public final class KinesisLocalRunning extends TestWatcher {
public static final int DEFAULT_PORT = 4567;
public static final int DEFAULT_PORT = 4568;
private static Log logger = LogFactory.getLog(KinesisLocalRunning.class);