You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2022/10/27 18:27:58 UTC

[camel] branch main updated: CAMEL-18660: Downgrade LocalStack to prevent rate limit issues (#8642)

This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 1175c266682 CAMEL-18660: Downgrade LocalStack to prevent rate limit issues (#8642)
1175c266682 is described below

commit 1175c2666821457dcb6cf0921f4076508459341a
Author: Nicolas Filotto <es...@users.noreply.github.com>
AuthorDate: Thu Oct 27 20:27:51 2022 +0200

    CAMEL-18660: Downgrade LocalStack to prevent rate limit issues (#8642)
    
    ## Motivation
    
    The test `Kinesis2ConsumerHealthCustomClientTest systematically` fails on Jenkins due to a rate limit issue caused by an incomplete docker image of LocalStack.
    
    ## Modifications:
    
    * Downgrade the version of the docker image of LocalStack to a version that contains kinesis-mock
---
 .../java/org/apache/camel/test/infra/aws2/services/AWSContainer.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSContainer.java b/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSContainer.java
index e941a71d0c3..d37ca43c055 100644
--- a/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSContainer.java
+++ b/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSContainer.java
@@ -36,7 +36,9 @@ import software.amazon.awssdk.auth.credentials.AwsCredentialsProvider;
  behave as in runtime.
  */
 public class AWSContainer extends GenericContainer<AWSContainer> {
-    public static final String LOCALSTACK_CONTAINER = "localstack/localstack:1.2.0";
+
+    // Keep using 1.1.0 as long as https://github.com/localstack/localstack/issues/7103 is not fixed and released.
+    public static final String LOCALSTACK_CONTAINER = "localstack/localstack:1.1.0";
 
     private static final Logger LOG = LoggerFactory.getLogger(AWSLocalContainerService.class);
     private static final int SERVICE_PORT = 4566;