You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/10/26 12:59:34 UTC

[camel] branch main updated (0c8364a8e02 -> 3593b4b87e2)

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

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


    from 0c8364a8e02 Add Dovetail to commercial support
     new ebacb932c0c (chores) camel-aws2-secrets-manager: disable flaky test on Github
     new 3687769353c (chores) camel-aws2-sns: adjust memory settings and JVM behavior for the tests
     new 3593b4b87e2 (chores) camel-aws2-sns: disable flaky test on Github

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../SecretsManagerRotateSecretProducerLocalstackIT.java  |  2 ++
 components/camel-aws/camel-aws2-sns/pom.xml              | 16 +++++++++++++++-
 .../aws2/sns/integration/SnsTopicProducerIT.java         |  2 ++
 3 files changed, 19 insertions(+), 1 deletion(-)


[camel] 03/03: (chores) camel-aws2-sns: disable flaky test on Github

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 3593b4b87e2dd61f3ebd45cb316d5c52749078db
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Wed Oct 26 10:55:58 2022 +0200

    (chores) camel-aws2-sns: disable flaky test on Github
---
 .../apache/camel/component/aws2/sns/integration/SnsTopicProducerIT.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/components/camel-aws/camel-aws2-sns/src/test/java/org/apache/camel/component/aws2/sns/integration/SnsTopicProducerIT.java b/components/camel-aws/camel-aws2-sns/src/test/java/org/apache/camel/component/aws2/sns/integration/SnsTopicProducerIT.java
index 7b5993def86..e6dbe91e621 100644
--- a/components/camel-aws/camel-aws2-sns/src/test/java/org/apache/camel/component/aws2/sns/integration/SnsTopicProducerIT.java
+++ b/components/camel-aws/camel-aws2-sns/src/test/java/org/apache/camel/component/aws2/sns/integration/SnsTopicProducerIT.java
@@ -24,10 +24,12 @@ import org.apache.camel.component.aws2.sns.Sns2Constants;
 import org.apache.camel.test.infra.common.SharedNameGenerator;
 import org.apache.camel.test.infra.common.TestEntityNameGenerator;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import org.junit.jupiter.api.extension.RegisterExtension;
 
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com", disabledReason = "Flaky on Apache CI")
 public class SnsTopicProducerIT extends Aws2SNSBase {
 
     @RegisterExtension


[camel] 01/03: (chores) camel-aws2-secrets-manager: disable flaky test on Github

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit ebacb932c0c8229cd8d4d50d2cd18511fb017361
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Wed Oct 26 12:57:58 2022 +0200

    (chores) camel-aws2-secrets-manager: disable flaky test on Github
---
 .../integration/SecretsManagerRotateSecretProducerLocalstackIT.java     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/components/camel-aws/camel-aws-secrets-manager/src/test/java/org/apache/camel/component/aws/secretsmanager/integration/SecretsManagerRotateSecretProducerLocalstackIT.java b/components/camel-aws/camel-aws-secrets-manager/src/test/java/org/apache/camel/component/aws/secretsmanager/integration/SecretsManagerRotateSecretProducerLocalstackIT.java
index 63b665e87d3..92a2656fa87 100644
--- a/components/camel-aws/camel-aws-secrets-manager/src/test/java/org/apache/camel/component/aws/secretsmanager/integration/SecretsManagerRotateSecretProducerLocalstackIT.java
+++ b/components/camel-aws/camel-aws-secrets-manager/src/test/java/org/apache/camel/component/aws/secretsmanager/integration/SecretsManagerRotateSecretProducerLocalstackIT.java
@@ -27,6 +27,7 @@ import org.junit.jupiter.api.MethodOrderer;
 import org.junit.jupiter.api.Order;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.TestMethodOrder;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import software.amazon.awssdk.services.secretsmanager.model.CreateSecretResponse;
 import software.amazon.awssdk.services.secretsmanager.model.RotateSecretResponse;
 
@@ -35,6 +36,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
 @TestMethodOrder(MethodOrderer.OrderAnnotation.class)
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com", disabledReason = "Flaky on Apache CI")
 public class SecretsManagerRotateSecretProducerLocalstackIT extends AwsSecretsManagerBaseTest {
 
     @EndpointInject("mock:result")


[camel] 02/03: (chores) camel-aws2-sns: adjust memory settings and JVM behavior for the tests

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 3687769353c980c5439879422c737657477db3ba
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Wed Oct 26 10:55:26 2022 +0200

    (chores) camel-aws2-sns: adjust memory settings and JVM behavior for the tests
---
 components/camel-aws/camel-aws2-sns/pom.xml | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/components/camel-aws/camel-aws2-sns/pom.xml b/components/camel-aws/camel-aws2-sns/pom.xml
index 2c88f1c554f..d53b82db70a 100644
--- a/components/camel-aws/camel-aws2-sns/pom.xml
+++ b/components/camel-aws/camel-aws2-sns/pom.xml
@@ -17,7 +17,8 @@
     limitations under the License.
 
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
@@ -33,6 +34,7 @@
     <description>A Camel Amazon SNS Web Service Component Version 2</description>
 
     <properties>
+        <camel.surefire.forkTimeout>1200</camel.surefire.forkTimeout>
     </properties>
 
     <dependencies>
@@ -96,4 +98,16 @@
             <scope>test</scope>
         </dependency>
     </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <argLine>${camel.surefire.fork.vmargs} -XX:+ExitOnOutOfMemoryError -Xmx2G</argLine>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 </project>