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

jeremyross 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 8b5ed8d  camel-salesforce: Prevent interfering test
8b5ed8d is described below

commit 8b5ed8dd9e34496fa1b9c69468bdca4ca86640e6
Author: Jeremy Ross <jeremy.g.r...@gmail.com>
AuthorDate: Sun Sep 19 13:59:42 2021 -0500

    camel-salesforce: Prevent interfering test
---
 .../component/salesforce/ChangeEventsConsumerIntegrationTest.java     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/components/camel-salesforce/camel-salesforce-component/src/test/java/org/apache/camel/component/salesforce/ChangeEventsConsumerIntegrationTest.java
 
b/components/camel-salesforce/camel-salesforce-component/src/test/java/org/apache/camel/component/salesforce/ChangeEventsConsumerIntegrationTest.java
index 7addd09..40aab32 100644
--- 
a/components/camel-salesforce/camel-salesforce-component/src/test/java/org/apache/camel/component/salesforce/ChangeEventsConsumerIntegrationTest.java
+++ 
b/components/camel-salesforce/camel-salesforce-component/src/test/java/org/apache/camel/component/salesforce/ChangeEventsConsumerIntegrationTest.java
@@ -94,7 +94,9 @@ public class ChangeEventsConsumerIntegrationTest extends 
AbstractSalesforceTestB
     }
 
     @Override
-    protected RouteBuilder doCreateRouteBuilder() {
+    protected RouteBuilder doCreateRouteBuilder() throws InterruptedException {
+        // Let activity from prior tests clear out
+        Thread.sleep(2000);
         return new RouteBuilder() {
             @Override
             public void configure() {

Reply via email to