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 2021/04/12 13:56:46 UTC

[camel-k] 03/06: chore: add some more time to YAKS tests

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

nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit ff587df1ccce6af52dfa810c993c919b72b6f799
Author: nicolaferraro <ni...@gmail.com>
AuthorDate: Fri Apr 9 15:28:29 2021 +0200

    chore: add some more time to YAKS tests
---
 e2e/yaks/common/apache-kamelet-catalog/kamelet.feature               | 5 +++++
 .../kamelet-binding-autoload/kamelet-autoload-specific.feature       | 4 ++--
 e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload.feature    | 4 ++--
 e2e/yaks/common/kamelet-binding-broker/kamelet.feature               | 5 +++++
 e2e/yaks/common/kamelet-binding/kamelet.feature                      | 5 +++++
 e2e/yaks/common/kamelet-no-properties/kamelet-no-props.feature       | 3 +++
 e2e/yaks/common/kamelet-steps/steps-binding.feature                  | 5 +++++
 e2e/yaks/common/kamelet/kamelet.feature                              | 5 +++++
 e2e/yaks/common/knative-sinkbinding/sinkbinding.feature              | 5 +++++
 e2e/yaks/common/knative/sources.feature                              | 5 +++++
 10 files changed, 42 insertions(+), 4 deletions(-)

diff --git a/e2e/yaks/common/apache-kamelet-catalog/kamelet.feature b/e2e/yaks/common/apache-kamelet-catalog/kamelet.feature
index 6482957..46618d7 100644
--- a/e2e/yaks/common/apache-kamelet-catalog/kamelet.feature
+++ b/e2e/yaks/common/apache-kamelet-catalog/kamelet.feature
@@ -1,5 +1,10 @@
 Feature: Camel K can run Kamelets from default catalog
 
+  Background:
+    Given Camel-K resource polling configuration
+      | maxAttempts          | 40   |
+      | delayBetweenAttempts | 3000 |
+
   Scenario: Integrations can use default catalog
     Given Camel-K integration logger is running
     Then Camel-K integration logger should print Camel K
diff --git a/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload-specific.feature b/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload-specific.feature
index f84e78e..608c7d0 100644
--- a/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload-specific.feature
+++ b/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload-specific.feature
@@ -4,8 +4,8 @@ Feature: Camel K can load specific secrets for Kamelets
     Given Disable auto removal of Kamelet resources
     Given Disable auto removal of Kubernetes resources
     Given Camel-K resource polling configuration
-      | maxAttempts          | 20   |
-      | delayBetweenAttempts | 1000 |
+      | maxAttempts          | 40   |
+      | delayBetweenAttempts | 3000 |
 
   Scenario: KameletBinding can load specific settings for Kamelet
     Given create Kubernetes service stub-service-2 with target port 8081
diff --git a/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload.feature b/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload.feature
index 297e93a..3662acd 100644
--- a/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload.feature
+++ b/e2e/yaks/common/kamelet-binding-autoload/kamelet-autoload.feature
@@ -4,8 +4,8 @@ Feature: Camel K can load default secrets for Kamelets
     Given Disable auto removal of Kamelet resources
     Given Disable auto removal of Kubernetes resources
     Given Camel-K resource polling configuration
-      | maxAttempts          | 20   |
-      | delayBetweenAttempts | 1000 |
+      | maxAttempts          | 40   |
+      | delayBetweenAttempts | 3000 |
 
   Scenario: KameletBinding can load default settings for Kamelet
     Given create Kubernetes service stub-service with target port 8080
diff --git a/e2e/yaks/common/kamelet-binding-broker/kamelet.feature b/e2e/yaks/common/kamelet-binding-broker/kamelet.feature
index ea45ada..afd7a0c 100644
--- a/e2e/yaks/common/kamelet-binding-broker/kamelet.feature
+++ b/e2e/yaks/common/kamelet-binding-broker/kamelet.feature
@@ -1,5 +1,10 @@
 Feature: Camel K can bind Kamelets to the broker
 
+  Background:
+    Given Camel-K resource polling configuration
+      | maxAttempts          | 40   |
+      | delayBetweenAttempts | 3000 |
+
   Scenario: Sending event to the broker with KameletBinding
     Given Camel-K integration logger-sink-binding is running
     Then Camel-K integration logger-sink-binding should print message: Hello Custom Event
diff --git a/e2e/yaks/common/kamelet-binding/kamelet.feature b/e2e/yaks/common/kamelet-binding/kamelet.feature
index 4234a3b..fa93a2e 100644
--- a/e2e/yaks/common/kamelet-binding/kamelet.feature
+++ b/e2e/yaks/common/kamelet-binding/kamelet.feature
@@ -1,5 +1,10 @@
 Feature: Camel K can bind Kamelets
 
+  Background:
+    Given Camel-K resource polling configuration
+      | maxAttempts          | 40   |
+      | delayBetweenAttempts | 3000 |
+
   Scenario: Running integration using a simple Kamelet with KameletBinding
     Given Camel-K integration logger-sink-binding is running
     Then Camel-K integration logger-sink-binding should print message: Hello Kamelets
diff --git a/e2e/yaks/common/kamelet-no-properties/kamelet-no-props.feature b/e2e/yaks/common/kamelet-no-properties/kamelet-no-props.feature
index 04806ef..29ab6d6 100644
--- a/e2e/yaks/common/kamelet-no-properties/kamelet-no-props.feature
+++ b/e2e/yaks/common/kamelet-no-properties/kamelet-no-props.feature
@@ -3,6 +3,9 @@ Feature: Kamelet may have no properties
   Background:
     Given Disable auto removal of Camel-K resources
     Given Disable auto removal of Kamelet resources
+    Given Camel-K resource polling configuration
+      | maxAttempts          | 40   |
+      | delayBetweenAttempts | 3000 |
 
   Scenario: Create Kamelet
     Given create Kamelet no-props-source with flow
diff --git a/e2e/yaks/common/kamelet-steps/steps-binding.feature b/e2e/yaks/common/kamelet-steps/steps-binding.feature
index f099945..4166cf4 100644
--- a/e2e/yaks/common/kamelet-steps/steps-binding.feature
+++ b/e2e/yaks/common/kamelet-steps/steps-binding.feature
@@ -1,5 +1,10 @@
 Feature: KameletBindings can have multiple processing steps
 
+  Background:
+    Given Camel-K resource polling configuration
+      | maxAttempts          | 40   |
+      | delayBetweenAttempts | 3000 |
+
   Scenario: Data is transformed by the steps
     Given Camel-K integration steps-binding is running
     Then Camel-K integration steps-binding should print Hello Apache Camel
diff --git a/e2e/yaks/common/kamelet/kamelet.feature b/e2e/yaks/common/kamelet/kamelet.feature
index a3d9217..5e2c896 100644
--- a/e2e/yaks/common/kamelet/kamelet.feature
+++ b/e2e/yaks/common/kamelet/kamelet.feature
@@ -1,5 +1,10 @@
 Feature: Camel K can run Kamelets
 
+  Background:
+    Given Camel-K resource polling configuration
+      | maxAttempts          | 40   |
+      | delayBetweenAttempts | 3000 |
+
   Scenario: Integrations can use multiple kamelets
     Given Camel-K integration source-sink is running
     Then Camel-K integration source-sink should print nice echo: Camel K
diff --git a/e2e/yaks/common/knative-sinkbinding/sinkbinding.feature b/e2e/yaks/common/knative-sinkbinding/sinkbinding.feature
index 842ee44..6af9673 100644
--- a/e2e/yaks/common/knative-sinkbinding/sinkbinding.feature
+++ b/e2e/yaks/common/knative-sinkbinding/sinkbinding.feature
@@ -1,5 +1,10 @@
 Feature: Camel K can run source in sinkbinding mode
 
+  Background:
+    Given Camel-K resource polling configuration
+      | maxAttempts          | 40   |
+      | delayBetweenAttempts | 3000 |
+
   Scenario: Integration gets the message from the sinkbinding source
     Given Camel-K integration receiver is running
     Then Camel-K integration receiver should print HELLO SINKBINDING
diff --git a/e2e/yaks/common/knative/sources.feature b/e2e/yaks/common/knative/sources.feature
index db0edbe..0257e8a 100644
--- a/e2e/yaks/common/knative/sources.feature
+++ b/e2e/yaks/common/knative/sources.feature
@@ -1,5 +1,10 @@
 Feature: Camel K can run latest released Knative CamelSource
 
+  Background:
+    Given Camel-K resource polling configuration
+      | maxAttempts          | 40   |
+      | delayBetweenAttempts | 3000 |
+
   Scenario: Integration gets the message from the source
     Given Camel-K integration receiver is running
     Then Camel-K integration receiver should print MagicString!